Skip to content

Error when first dataLabel is disabled and second dataLabel is enabled #19457

@raf18seb

Description

@raf18seb

Expected behaviour

The second dataLabel from config should work fine or at least no error in the console occurs (chart should be rendered correctly).

Actual behaviour

When disabling the first dataLabel and trying to enable the second one, the error in the console occurs and the chart isn't rendering.

Also, in Highcharts it is possible to define multiple dataLabels (especially in multiple values series like columnrange), but the API suggests that only an object is valid (it is possible to define multiple dataLabels in an array).

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/sz2e7q40/

Product version

Current is 11.1.0

Internal notes:
It looks simple at first glance thus tagging as good for beginners, but it needs to be debugged and investigated first.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions