Skip to content

New aligment for x axis ticks #10105

@Talla2XLC

Description

@Talla2XLC

Feature Proposal

In case if chart have only 2 ticks on horizontal axis many users preffer to aling this ticks: 'start" for first (left) tick and 'end' for last (right) tick, otherwise they will go out of bounds:
image

To do so I modified chart,js core adding new align type for options.scales['x'].ticks namespace which named 'left-right'.
image

I am ready to upload this correction via pull request if you don`t mind

Possible Implementation

Adding new align type 'left-right' for options.scales['x'].ticks namespace described in pull request: #10105

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions