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
I'm trying to update a charts time series without having to create a new one. At the moment i'm having to do:
// really - do i have to do it like this?// series is our new time serieses, which might be// longer, higher time resolution (or lower), have more categories, etc.for(iinseries){chart.series[i]=series[i];}// remove any elements larger than the lenght of the new series.if(chart.series.length>series.length){chart.series.splice(series.length,chart.series.length-series.length);}chart.update();
where series is my new series object, and chart is a RickshawGraph object.
I've tried using
chart.configure({series : series})chart.update();
but it isn't working. is this expected behaviour?
cheers
The text was updated successfully, but these errors were encountered:
I'm trying to update a charts time series without having to create a new one. At the moment i'm having to do:
where series is my new series object, and chart is a RickshawGraph object.
I've tried using
but it isn't working. is this expected behaviour?
cheers
The text was updated successfully, but these errors were encountered: