-
-
Couldn't load subscription status.
- Fork 1.4k
Closed
Labels
feature-requestNew feature or requestNew feature or request
Description
I have a chart with multiple types of annotations. Is there a way I can signify, either through a class or id, which annotations to clear?
Or even better, could we get an "Update Annotation" method that takes a callback that receives an array of the current annotations and then returns a new array of annotations?
Something like this:
ApexCharts.updateAnnotations( currentAnnotations => {
const updatedAnnotations = currentAnnotations.filter( ({ x }) => x < 5 )
return updatedAnnotations
})
Metadata
Metadata
Assignees
Labels
feature-requestNew feature or requestNew feature or request