Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

chartOptions $watch not working #13

Open
smilovanovic opened this issue Jun 23, 2014 · 1 comment
Open

chartOptions $watch not working #13

smilovanovic opened this issue Jun 23, 2014 · 1 comment

Comments

@smilovanovic
Copy link

If you want to toggle series visibility(ng-model="options.series[0].show") $watch function is not triggering replot, you need third parameter to be set to true.

a.$watch(c.chartOptions,function(){d()},true)

@smilovanovic
Copy link
Author

scope.$watch(attrs.chartOptions, function () {
renderChart();
}, true);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant