Skip to content

[Feature Request]: AreaChart - Add an option to have a year in the x-asis date and tooltip #819

@vicky-comeau

Description

@vicky-comeau

Component that this feature request involves

AreaChart

Is your feature request related to a problem? Please describe

When there is a large time gap of more than a year, it doesn't make sense to show a day and month when we don't even know which year it would be.

Describe the solution you'd like

We could update the date formatting, but we need to determine when the switch is, the exact date format and what the format should be in the tooltip.

Describe alternatives you've considered

We could also make the dateFormatter customizable to the user.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions