Skip to content

Implementation with chartjs-plugin-annotation #1196

Open
@kevind700

Description

@kevind700

Would you like to work on this feature?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

What problem are you trying to solve?

I need to subdivide the x-axis labels for example I have a months array but I have months from last year with the new year, I would like to subdivide the months and show that some months are from the year 2022 and others from the year 2023.

Attached is what I would like to do with the graph
image

Describe the solution you'd like

With the implementation of chartjs-plugin-annotation I could use Label Annotations and calculate where to place a text to indicate which months are in a specific year.

Describe alternatives you've considered

No response

Documentation, Adoption, Migration Strategy

Here is the documentation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions