Skip to content

Highcharts 9 throws a 'c is undefined' error when returning to the original series if you first zoom in on the x-axis before drilling down into additional details #16479

@ryanewtaylor

Description

@ryanewtaylor

Expected behaviour

When clicking "back to " the chart should return the the respective series at the previous extent without error.

Actual behaviour

Highcharts 9 throws a 'c is undefined' error when returning to the original series if you first zoom in on the x-axis before drilling down into additional details.

Uncaught TypeError: c is undefined
    visibilitySetter highcharts.src.js:10798
    attr highcharts.src.js:9380
    I highcharts.src.js:1316
    attr highcharts.src.js:9358
    show highcharts.src.js:10520
    drillUp drilldown.src.js:744
    drillUpButton drilldown.src.js:641
    button highcharts.src.js:12912
    fireEventOnWrappedOrUnwrappedElement accessibility.src.js:868
    proxyMouseEventsForButton accessibility.src.js:1054

This error does not happen in Highcharts 8.

Live demo with steps to reproduce

  1. Open demo: https://codepen.io/iamrewt/pen/jOwxYOy
  2. Zoom in on the x-axis
  3. Click one of the total_b, total_c, or total_d columns
  4. Click "back to "

Product version

Highcharts 9

This error does not happen in Highcharts 8.

Affected browser(s)

Firefox, Chrome. Not tested in Edge.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions