Should not destroy() reset zoom and pan settings? #703
-
Please see this JSFiddle for demonstration. A global ChartConfiguration is used to basically create a chart and enable zooming and panning. Expected was a recreation of the chart similar to its initial creation (as it is with the second chart using a locally created ChartConfigration shown in the JSFiddle for comparison). Is not the call of destroy() supposed to already reset the zoom and pan settings in order to leave the global ChartConfiguration unchanged? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You probably need to clean up the config too. I'd suggest a |
Beta Was this translation helpful? Give feedback.
You probably need to clean up the config too. I'd suggest a
createConfig
function that always returns a new object.