-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
This seems to be related to #6943 that has been fixed recently*. However the same issue described there still occurs when calling chart.exportChartLocal programatically. I wonder if maybe this part still uses a faulty implementation.
* The fix didn't appear in the changelog but I assume it was rolled out, as I saw the corresponding code in the latest npm package
Expected behaviour
Existing callbacks on the chart instance should not be invoked when overwritten in the options object passed to chart.exportChartLocal
Actual behaviour
Callbacks are invoked
Live demo with steps to reproduce
Demo: https://jsfiddle.net/5dwkj2q6/
Steps to reproduce:
- Open your devtools console
- Zoom into any area on the chart
- Notice the console message
- Click "Export local" button
Expected: Should not log the console message
Actual: Logs the console message
Product version
9.1.2
Affected browser(s)
All
Reactions are currently unavailable