react-chartjs-2 icon indicating copy to clipboard operation
react-chartjs-2 copied to clipboard

Implementation with chartjs-plugin-annotation

Open kevind700 opened this issue 2 years ago • 0 comments

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

kevind700 avatar Oct 04 '23 15:10 kevind700