Skip to main content
Version: 8.1

clearAnnotations

Delete all dynamically added annotation elements from the chart.

See clearAnnotations – ApexCharts Docs for more information.

Overview​

Syntax​

component.clearAnnotations()

Parameters​

None

Returns​

None

Examples​

Clear All Annotations​

This example removes all annotations added dynamically.

self.getSibling("apexchart").clearAnnotations()