forked from predictionmachines/InteractiveDataDisplay
-
Notifications
You must be signed in to change notification settings - Fork 0
How can I change plot data?
novikov-alexander edited this page Apr 21, 2016
·
1 revision
Simply pass new data to plot with a same name.
For example:
function getData(){
/*Some data generator*/
}
function polyline() {
var data = getData();
InteractiveDataDisplay.asPlot('chart').polyline("p2", { x: data.x, y: data.y});
setTimeout(polyline, 25);
}
Home
FAQ
UI Guidelines
Export to SVG
Plot
Figure
Chart
ChartViewer
Polyline
Markers
Area
Heatmap
DOM Plot
Labels
Bing Maps
Intro
General bindings
Area plot
Bars plot
Polyline
Heatmap
Markers
Label plot
Box and whisker plot
Petals and BullEye plot
Axis
Palette Editor
Update layout
Axes
Legend
Color Palette
Navigation
Bound Plots
Tooltips and Probes