Hi,
thanks for your reply. But there is still a very small space between the zero line and the axis-line. Is there any further trick to remove this and set the baseline to the zero line?
Hi,
thanks for your reply. But there is still a very small space between the zero line and the axis-line. Is there any further trick to remove this and set the baseline to the zero line?
Hi,
when I plot a chart with only zero points (e.g. System load on a cpu with no load..) there is still a small space between the zero line and the axis.
Again: what do you mean by "zero line" - the position of some value 0 of a y axis ?
Uwe
Right. The position of zero values on the x-axis (bottom).
Better upload a screenshot of what you want to do.
Uwe
Hi,
plot.png
Here you can see that the points with 0.0 on the x axis are not on but above the axis. I hope it is getting clearer now.
Please add gridlines for the y axis ( maybe in red ) and set the canvas background to cyan and upload another screenshot.
Uwe
Hi,
this is the new plot:
plot.png
Thanks and best regards
Ozzy
Where you can see, that the zero line ( 0 at y left ) is exactly the first pixel in the canvas.
You could disable the backbone of the scales ( see QwtScaleDraw ) and draw a line at y=0 inside the canvas - if this is what you want to do.
Uwe
Hi,
thanks for your reply! This works for me!!!
Thanks and best regards
Ozzy
Bookmarks