Skip to content

Updating bell curve series visible option #20429

Closed
@hubertkozik

Description

@hubertkozik

Expected behaviour

Changing the bell curve visible option between true and false by using series.update method should work correctly.

Actual behaviour

Changing the bell curve visible option between true and false by using series.update produces an error in the console and breaks the chart.

Live demo with steps to reproduce

Live demo: https://jsfiddle.net/BlackLabel/w1Lfeuvm/

  1. Click the 'Show bell curve' button.
  2. Click the 'Hide bell curve' button.
  3. Click the 'Show bell curve' button again -> issue.

Workaround

Use setVisible method to change the visibility of the bell curve series.
Live demo with workaround: https://jsfiddle.net/BlackLabel/h1kon94a/

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions