hysteresis example in a chart diagram