QCustomPlot Discussion and Comments

How can I save the zoom and drag of plot to restore it later ?Return to overview

Hi,
I have a plot with

  customPlot->setInteractions(QCP::iRangeDrag | QCP::iRangeZoom);

How can I save the zoom and drag statuses and re-apply them programmatically to restore the plot
in the same state when the application is reopened ?
Thanks

use QSettings to save it to a configuration file and read it while opening the application