Help With These QLineseries ?
-
I have a method that generates a Qchart based on the values of three vectors (which change at different times in the application). This Qchart is then filled with 3 Qlineseries that contain the information from these vectors. When I use the createDefaultAxes() method I get the chart below which is correct:
But I need to improve the visualization of this data. So I want to increase the Y axis range to (24.0, 39.0) with 1 in 1 intervals, add legends and leave the X axis with ticks in whole numbers. for this, I used the following methods indicated by that person.(In the link there is also the code used).
However, when using the suggested methods (setTickType, setTickInterval...) with the same data as the previous chart, the axes are exactly the way I need them, but the linesseries are completely messed up (see that the matches are completely different, even the tuples used in the two charts are the same). The values I'm using are exactly the same. What's happening? Can anyone help me find a way to solve this?