New features in ApexCharts v6
mainVersion 6 introduces several opt-in, tree-shakeable features that transform charts from static images into interactive surfaces:
- Plugin platform: Use
ApexCharts.registerPlugin(def)and activate viaplugins: [{ name }]. - Canvas rendering: Use
chart: { renderer: 'auto' }to paint dense series to canvas while keeping UI elements in SVG. - Undo/Redo: Enable via
chart: { history: { enabled: true } }. - Shareable view state: Use
chart.perspectives.capture()to serialize view state into a token. - Design tokens: Use
--apx-*CSS properties andtheme: { follow: 'os' }for OS-aware themes. - Custom series types: Register new types via
ApexCharts.registerSeriesType(name, { renderItem }). - Crossfilter dashboards: Link charts using
ApexCharts.crossfilter. - Annotation authoring: Enable via
chart: { ink: { enabled: true } }for draggable/resizable annotations. - Real-time streaming: Use
chart.streamingfor constant-velocity rolling-window updates. - Scrollytelling: Use
chart.storyboard.bind({ beats })to link prose to chart views.