Skip to content

min/max callback of yAxis support return null #11829

@pissang

Description

@pissang

What problem does this feature solve?

Currently if min/max callback return null, the behaviour is unexpected.

We can still use the auto calculated max value if the callback returns null

What does the proposed API look like?

max: function (val) {
  return val > 0 ? val : null;
}

Metadata

Metadata

Assignees

Labels

bugenThis issue is in English

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions