angular-dygraphs icon indicating copy to clipboard operation
angular-dygraphs copied to clipboard

Remove resize on watch of data

Open lo-co opened this issue 10 years ago • 1 comments

In your scope.$watch('data'..., you have complete the update of the graph with a call to resize(). While this may not be an issue for static plotting, if you do use this in a dynamic situation, this function call will result in a performance hit.

lo-co avatar Nov 24 '15 07:11 lo-co

just comment resize();

menelai avatar Dec 18 '15 13:12 menelai