hideSeries
Programmatically hides a chart series if it's currently visible. If the series is already hidden, calling this has no effect.
See hideSeries – ApexCharts Docs for more information.
Overview
Syntax
component.hideSeries(seriesName)
Parameters
| Type | Parameter | Description |
|---|---|---|
| String | seriesName | The name of the series to hide. |
Returns
None
Examples
Hide Series
This example hides the visibility of a series named "SeriesA".
self.getSibling("apexchart").hideSeries("SeriesA")