chartjs-plugin-annotation icon indicating copy to clipboard operation
chartjs-plugin-annotation copied to clipboard

add getAnnotations function to plugin and remove _getState private one

Open stockiNail opened this issue 1 year ago • 4 comments

This PR is adding getAnnotations function to annotation plugin to get all annotation elements created for a chart. It also removes _getState` function from annotation plugin because it was used for testing and it was the only way to access to the elements instances.

TODO

  • [x] test cases
  • [x] types
  • [x] documentation

stockiNail avatar May 22 '23 15:05 stockiNail

Hello @stockiNail, Is there an ETA on this PR (if approved)? We're trying to prioritize tasks and this solves a big one for us :) Thanks!

davidnir1 avatar Jun 13 '23 07:06 davidnir1

Is there an ETA on this PR (if approved)?

@davidnir1 it's planned to be released in version 3.1.0 (next one if we will not have any bug in the meantime). There are other PRs tagged for 3.1.0 therefore additional time is needed but depends on the maintainer, we could also think to move some PRs to 3.2.0 and then try to release version 3.1.0 earlier.

stockiNail avatar Jun 13 '23 08:06 stockiNail

Hello @stockiNail, is there some plan in place when you're planing to merge this one? It would be great to allow the tooltips over the box annotations. Thanks!

tomasbeloch avatar Oct 11 '23 12:10 tomasbeloch

@tomasbeloch I don't think so, I'm a collaborator not a maintainer ;) Furthermore I'm currently busy in another important project therefore my time is very limited. I'm very sorry. I hope to have time soon to restart working on this project. @kurkle what do you think?

stockiNail avatar Oct 11 '23 12:10 stockiNail