Can we return the interval of xAxis from the canvas?
Printable View
Can we return the interval of xAxis from the canvas?
You can get the axis interval from your QwtPlot object:
or you can get the width of the canvas like this:
Code:
int width = this->canvas()->width();
Thank you for your response, but are those two widths equals?