Skip to content

tickBorderDash in GridLineOptions should be of type Scriptable<number[], ScriptableScaleContext> #11394

@skopz356

Description

@skopz356

Feature Proposal

The options.scales[x|y].grid.tickBorderDash is defined as type number[] but it should be defined as a Scriptable. I tested it and when a function is passed it also works.

Possible Implementation

tickBorderDash: number[];
change this line to tickBorderDash: Scriptable<number[], ScriptableScaleContext>;.
I would be happy to create a pull request after I get approval that it is desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: typesTypescript type changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions