PDA

View Full Version : Grid-shift issue



prashantbasvat
19th October 2015, 07:40
i am prashant basvat from india,currently we are developing an patient monitor application using QWT technology.
we created an waveform, but we are facing issue during display of gridlines when we display gridlines, it is slightly shifted to right from left side of graph.
i have attached an image which shows grid shift.
how to resolve this.

Uwe
19th October 2015, 08:54
The grid lines are aligned to the ticks of the scales, the position of the ticks depends on some parameters of your plot layout and your scale engine.
In your case I can imagine, that you are looking for:


plot->plotLayout()->setAlignCanvasToScales( true );Uwe