Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation with chartjs-plugin-annotation #1196

Open
1 task
kevind700 opened this issue Oct 4, 2023 · 0 comments
Open
1 task

Implementation with chartjs-plugin-annotation #1196

kevind700 opened this issue Oct 4, 2023 · 0 comments

Comments

@kevind700
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant