Can we return the interval of xAxis from the canvas?
Can we return the interval of xAxis from the canvas?
You can get the axis interval from your QwtPlot object:
Qt Code:
To copy to clipboard, switch view to plain text mode
or you can get the width of the canvas like this:
Qt Code:
int width = this->canvas()->width();To copy to clipboard, switch view to plain text mode
Thank you for your response, but are those two widths equals?
Bookmarks