Skip to content

-1 on xAxis when legends filtered out #18066

Description

@AhmetG-Rev

Expected behaviour

When Legend filter is used, x and y axis should be readjusted automaticaly.

Actual behaviour

"-1" appears on the xAxis. -1 on xAxis
https://stackoverflow.com/questions/74628650/highcharts-1-on-xaxis-when-legends-filtered-out?noredirect=1#comment131732957_74628650

Live demo with steps to reproduce

https://jsfiddle.net/ag_test/pe9t4vxu/1/

  • add a new data series to the chart (by clicking the add series button)
  • filter out the old series by clicking the legends of them.

Product version

Highcharts JS v10.3.2

Affected browser(s)

Chrome 108.0.5359.71

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions