I am currently using QLineSeries
to represent a temperature-over-time relation.
I have a temperature sensor connected. It sends data every minute.
The problem is, that the measurements are made in 20-minute periods after which the sensor is inactive for 60 minutes.
I indicate the start of a new series by setting the temperature value to -0xff
.
Now, how can I create a Graph with QtCharts
that has a null value?
Right now even if I pass the value of -0xff
to be drawn on the graph, it just draws it. I want it to stop drawing the currently started line and create a new one whenever a new measurement period starts.