QCustomPlot Discussion and Comments

Achieving this effect with QCustomPlot is it possibleReturn to overview

The following link shows the effect i am trying to achieve and I wanted to know if it will be possible using QCustomPlot. The effect only happens when the plot is dragged.

http://s21.postimg.org/gsnon0pjr/Image.png

I know QCustomPlot allows interaction and a signal could be attached to obtain the max and min values of the axis thats required. However I am not sure on how the affect could be achieved. The first requirement is 0 on the y-axis always remains constant and then as the user drags the plot down the y-axis tends to compress and conversely when the plot is dragged up the y-axis expands. Is this effect possible in QCustomplot ?

Yeah that should be possible. Just always call

customPlot->yAxis->setRangeLower(0);
upon range change (signal QCPAxis::rangeChanged).

That Works!! Awesome