Skip to main content
Version: 8.1

resetSeries

Resets all toggled series and restores the chart to its original state. Optionally updates the series data and resets the zoom level.

See resetSeries – ApexCharts Docs for more information.

Overview​

Syntax​

component.resetSeries([shouldUpdateChart], [shouldResetZoom])

Parameters​

TypeParameterDescription
boolshouldUpdateChartWhether to restore the original series data.
boolshouldResetZoomWhether to reset the zoom level if the chart was zoomed.

Returns​

None

Examples​

Reset Series​

This example resets the series and also resets the zoom level.

self.getSibling("apexchart").resetSeries(True, True)