You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Plotly,extendTraces() appends the data to the end. What about a way to 'insert' new data in a sorted way?
How should it work?
if I have the following plot with x: [t, t+10, t+20] y: [1,2,3]
a call to Plotly.extendTraceSorted() with x: [t+5, t+15], y: [5, 5]
should insert the pair in a sorted way based on x: x: [t, t+5, t+10, t+15, t+20] y: [1, 5, 2, 5, 3]
Why
This allows to first render a graph with much less datapoints (e.g. scatter plot, sensor data, every 10min). later either by user request or timed add more and more datapoints until all data is plotted. or only add points for a timespan the user zooms in.
what do you think?
The text was updated successfully, but these errors were encountered:
using Plotly,extendTraces() appends the data to the end. What about a way to 'insert' new data in a sorted way?
How should it work?
if I have the following plot with
x: [t, t+10, t+20]
y: [1,2,3]
a call to Plotly.extendTraceSorted() with
x: [t+5, t+15], y: [5, 5]
should insert the pair in a sorted way based on x:
x: [t, t+5, t+10, t+15, t+20]
y: [1, 5, 2, 5, 3]
Why
This allows to first render a graph with much less datapoints (e.g. scatter plot, sensor data, every 10min). later either by user request or timed add more and more datapoints until all data is plotted. or only add points for a timespan the user zooms in.
what do you think?
The text was updated successfully, but these errors were encountered: