GraFiddle / angular-chart

AngularJS directive for adjustable dynamically updating c3 charts
http://grafiddle.github.io/angular-chart/
MIT License
127 stars 40 forks source link

Charts is not being refreshed #71

Closed tony6636 closed 8 years ago

tony6636 commented 9 years ago

Hi, I use the line chart, I noticed that it works fine if I have e.g. 70 rows. But, if that count is bigger than that, let's say 250, the data is binded only once. If the new data comes via ajax (json) the chart doesn't refresh. Why ?

maxklenk commented 9 years ago

I limited the watcher to not doing a deep watch of datasets with more than 100 rows (but this number can be configured https://github.com/maxklenk/angular-chart#watchlimit--integer). For bigger datasets only the number of rows is checked, which should trigger in your case too. I will check that. For the moment you could increase the watchlimit or update the options to trigger a redrawing.

maxklenk commented 8 years ago

Closing for now, as there is no update.