-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
Expected behaviour
Axis labels and ticks should not change unless the values that affect their calculation (chart size, font size, axis range etc..) remain constant.
For user/programmer it's expected that the tick interval calculation is provided by an internal Highcharts' procedure which gives an unkwonw in advance but the same distance between the ticks. That is, this distance must always be the same no matter in which way the axis is drawn - whether as a result of the initial chart appearance or after its update.
In other words, using the programmer's lexicon - the calculation procedure should be a "pure function" (one that always returns the same result with the same input arguments).
Actual behaviour
Vertical axis labels and ticks changed.
Live demo with steps to reproduce
- Run the demo.
- Note the vertical axis labels and ticks. They are 25/50/75

- Click the "Update" button to change series color.
- Series color is changed from blue to green, but the vertical axis labels and ticks are also changed (recalculated). Now they are 20/40/60

Product version
11.1.0
Affected browser(s)
Chrome 115.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
Done