Skip to content

xAxis.ceiling not correctly honored when scrolling when xAxis.min is not set. #16245

@marklofdahl

Description

@marklofdahl

Expected behaviour

When xAxis.min is null or not present, xAxis ceiling should be honored correctly, like it is when xAxis.min is 0.

Actual behaviour

When xAxis.min is not present (or is null), xAxis ceiling is not correctly honored when scrolling. When the chart is initially displayed, the ceiling is correctly honored. When the scrollbar is moved, an additional column is shown when it shouldn't be.

Live demo with steps to reproduce

problem when xAxis.min is not set - https://jsfiddle.net/marklofdahl/quLdrbch/
correct when xAxis.min is 0 - https://jsfiddle.net/marklofdahl/tar6gdwq/

Product version

Highstock 9.1.2

Affected browser(s)

All

Is there a different workaround other than setting xAxis.min = 0 for all my charts?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions