alonho / angular-plotly

MIT License
41 stars 35 forks source link

updating data when only updating graph data #21

Open mg1075 opened 7 years ago

mg1075 commented 7 years ago

In the case of updating data on a short interval - e.g., one second - the update approach in this directive may not be optimal.

https://community.plot.ly/t/what-is-the-most-performant-way-to-update-a-graph-with-new-data/639

Looks like it should be using either extendTraces or restyle methods from plotly.