Skip to content

Axis events not updated on export #15983

@mediafreakch

Description

@mediafreakch

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:

  1. Open your devtools console
  2. Zoom into any area on the chart
  3. Notice the console message
  4. 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions