Skip to content

Axis options can not be cleared with undefined #10525

@bre1470

Description

@bre1470

If I set tickPositions to null, it magically works, but TS doesn't like it, null is not allowed.
Setting single tickPositions to undefined is working with Highcharts 9.3.1.

See: highcharts/highcharts-react#110

Demo: https://jsfiddle.net/43w5ch2L/

Workaround: https://jsfiddle.net/bre1470/tr6shfy4/
Setting tickPositions options to [] is working with rendering of Highcharts 9.3.1, though the previous options are still accessible via Axis.options.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions