n3-charts / line-chart

Awesome charts for AngularJS.
http://n3-charts.github.io/line-chart/
MIT License
1.2k stars 179 forks source link

One time bindings #343

Open soffici opened 9 years ago

soffici commented 9 years ago

Hi, thank you for the amazing directive.

I'm developing a web app with many charts and to improve the performance i would like to disable the deep watchers of the directive on data and options, so that it will be possibile to make a one time binding

thank you for your help

lorem--ipsum commented 9 years ago

Hi, thanks for the kind words ! Have your tried angular one time binding ? More info on this here : https://docs.angularjs.org/guide/expression (look for the chapter "One time binding").