QCustomPlot set fixed yaxis range
-
I'm new in qt and c++. I made a graph with qcustomplot but I need fixed yaxis. It must be stay with 2 range. no need rescale.
ui -> widgetChart -> yAxis -> setRange(-40, 80); ui -> widgetChart -> yAxis2 -> setRange(0, 100);
I tried this but when plot starting axis ranges changing again.
How can I do this fixed range?