amcharts3-angular2 icon indicating copy to clipboard operation
amcharts3-angular2 copied to clipboard

chart doesn't auto update on value changes

Open ramarro123 opened this issue 9 years ago • 1 comments

chart value doesn't get updated if option object change

it's possible to fix this behaviour?

ramarro123 avatar Feb 20 '17 15:02 ramarro123

@ramarro123 are you sure you're providing new option object (not a changed one)?

See comments in #3 - you need to provide a new object (so deep clone it if needed, recreate it, whatever), otherwise Angular's Change Detection doesn't know something changed (same object, so no need for updates, right?).

ryzy avatar Apr 13 '17 10:04 ryzy