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

Fix infinite watcher recursion

Open gabrielreid opened this issue 6 years ago • 0 comments

Make a copy of the layout before assigning it to the graph element. Plotly sometimes performs its own updates on the layout element, specifically when dealing with time series data where the x-axis consists of Date values. In this case, we can get into an infinite recursion situation with the watcher in angular.

gabrielreid avatar Feb 21 '19 15:02 gabrielreid