Thanks Uwe,
It helps and added a knowledge.
Where as I have added small change in my code and it works.
As the left line has issue while working, so I have added +1 to the scale which add every time and not get hidden on deep scroll out
m_line
[0]->setValue
(QPoint(m_plot
->invTransform
(QwtPlot::xBottom, m_plot
->transform
(QwtPlot::xBottom, m_grid
->xScaleDiv
().
interval().
minValue())+20)+1,
0));
m_line[0]->setValue(QPoint(m_plot->invTransform(QwtPlot::xBottom, m_plot->transform(QwtPlot::xBottom, m_grid->xScaleDiv().interval().minValue())+20)+1,0));
To copy to clipboard, switch view to plain text mode
Bookmarks