Drawing Series Over Grid Lines QtChart
-
Hello to all,
I have a problem about showing my first data on qt chart.
I am using QDateTimeAxis on axis x and QValueAxis on axis y, and series I append to chart are; QScatterSeries and QLineSeries.
As you can see on the image, chart removes half of the scatter data on screen. It also happens in last value of data. I guess I may make it work while adding zero values for min and max values on x axis, but I would like to know if there is a way to give a space between first value and axis x grid line on chart.
Or is there a way to draw series over plotting area, it seems that series are children of this area and these parts which are over plot area cannot be shown .Thank you for any help!
-
Hi again,
I could not figure out how to retrieve this clipped area, I searched about setting margin of plotting area but no success. However at least, I managed to show points label totally with these codes;series->setPointLabelsVisible(true); series->setPointLabelsColor(Qt::black); series->setPointLabelsClipping(false); series->setPointLabelsFormat("@yPoint");
Maybe that helps to others !
Thanks