Hey Hubert.k,
This is precisely the thing I was looking for.
I need some suggestions herein representing the data,
The x2 value(endpoint) which needs to be plotted is nondeterministic, as the array is generated using
linspace with two timestamps (start time, end time) and an array of data points [0,0,0,0, null, null, null,1,1,1,0,1,...].
I generate an array of values in such a format, I need to figure out the solution to extract x2 from such a dataset?
Code: Select all
[ [1657682534000, 1]
[1657682539000, 1]
[1657682544000, 1]
[1657682549000, 1]
[1657682554000, 1]
[1657682559000, 1]
[1657682564000, null]
[1657682569000, 1]
[1657682574000, 1]
[1657682579000, 1]
[1657682584000, 1]
[1657682589000, 0]
[1657682594000, 0]
[1657682599000, 0]
[1657682624000, null] ]
Can you please help me in figuring out the values for the x2 or any other work around here?
Your help is really apprectiated.
Thanks a lot, hubert.k.