Skip to content

softMin causes maxPadding to be ignored for certain cases #18110

Closed
@awonihlgard

Description

@awonihlgard

Expected behaviour

There should be a padding between the serie maximum and the chart maximum that can be controlled with maxPadding

Actual behaviour

maxPadding is not respected, causing the serie to end up to close to the chart edge

Live demo with steps to reproduce

https://jsfiddle.net/zjx86fvm/50/

  • If softMin is replaced with min, the padding is added
  • If the series have a higher variance (e.g replace the first data point with 220), the padding is added

Product version

Highcharts 10.2.0

Affected browser(s)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions