My data for the graph drawn in flot can be discontinuous - some measurements can be missing.
I am not allowed to interpolate over them - there must be a discontinuity, no value, no link between values neighboring the missing one; the graph must end on the last measurement before the break, and then restart from first measurement after the break.
I can fully manipulate the data and I know which data is missing and which data appears on the edges. The data comes as multiple series of pairs [time, value], any series can contain breaks (and usually the breaks will be over the same periods of time, for broken communication.)
How can I force flot to create such a gap in a graph?
Use a JavaScript null, like this: [[0, 0], [1, 1], null, [3, 3], ...]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With