Skip to content

Field bounds is not defined as a property of LinearScaleOptions #9437

@boreq

Description

@boreq

The documentation states that bounds is an option common to all cartesian axes. At the same time the documentation lists linear as one of the cartesian axes.

Despite this the file types/index.esm.d.ts doesn't list bounds as a field of LinearScaleOptions. It only lists it as a field of TimeScaleOptions. Attempting to set the field bounds when defining a linear scale when using TypeScript leads to a compilation error.

Perhaps this field should be defined on the type CartesianScaleOptions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions