Hello All,
I've working with influxdb to plot data from last few hour.
As i query for last 8 hour i'm getting "null" where missing values are.
below image shows value which are recorded into influx db generate line and null point not generating line inbetween.
Any idea how to ignore null point.
i need to keep X axis stable as possible
If you send last known not null value, you just increase the amount of data-points for chart to render.
Chart does the interpolation job without the extra data-point.
Just ignore null values
if(value != null){
data += '{ "x":"' + thetime + '", "y":' + value + '}';
Hi @hotNipi,
Thanks for input!
Example code is generating json error while skiping null value.
I'm figuring out that part which will keep X axis intact as intented.