Provides bindApexCharts, which makes a rendered ApexCharts chart
accessible through MAIDR and keeps it that way as the chart redraws, and
apexchartsToMaidr, which converts a chart into MAIDR data once.
Remarks
ApexCharts is not bundled — users load their own copy. This module
reads the live chart instance (w.globals, w.config, opts) and the SVG
it drew, and produces a plain JSON descriptor MAIDR understands. It is
written against ApexCharts 7.6.0, whose DOM the selectors are tied to.
ApexCharts 7 ships keyboard navigation of its own, which competes with
MAIDR's; set chart: { accessibility: { enabled: false } } on charts read
through MAIDR. The adapter warns in the console when it is left on.
Public ApexCharts adapter API for MAIDR.
Provides bindApexCharts, which makes a rendered ApexCharts chart accessible through MAIDR and keeps it that way as the chart redraws, and apexchartsToMaidr, which converts a chart into MAIDR data once.
Remarks
ApexCharts is not bundled — users load their own copy. This module reads the live chart instance (
w.globals,w.config,opts) and the SVG it drew, and produces a plain JSON descriptor MAIDR understands. It is written against ApexCharts 7.6.0, whose DOM the selectors are tied to.ApexCharts 7 ships keyboard navigation of its own, which competes with MAIDR's; set
chart: { accessibility: { enabled: false } }on charts read through MAIDR. The adapter warns in the console when it is left on.Example