Skip to content

[Feature] able to customize the dataMax/dataMin of axis rather than fixed max/min #20770

@Justin-ZS

Description

@Justin-ZS

What problem does this feature solve?

demo

Like this demo, the axis.max/min just change the aixs range to [min, max].
max: 1555 will change the axis max to 1555

I want a dataMin/dataMax property that set the aixs range to [rounded(dataMin),rounded(dataMax)]
dataMax: 1555 will change the axis max to 1800

What does the proposed API look like?

type ValueAxis = {
  // other properties
  dataMax: number,
  dataMin: number
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions