MAIDR Documentation - v3.69.0
    Preparing search index...

    Module anychart-entry

    Public API for the MAIDR AnyChart adapter.

    Provides bindAnyChart and anyChartToMaidr for integrating AnyChart charts with MAIDR's accessible visualisation features.

    AnyChart must be loaded separately – this module does not bundle the AnyChart library. Call these functions after the chart has been drawn so that series data and the SVG container are available.

    import { bindAnyChart } from 'maidr/anychart';

    const chart = anychart.bar([4, 2, 7, 1]);
    chart.container('container').draw();

    // One-liner: extracts data, sets maidr-data attribute, fires event.
    bindAnyChart(chart);

    References

    anyChartToMaidr → anyChartToMaidr
    bindAnyChart → bindAnyChart
    AnyChartBinderOptions → AnyChartBinderOptions
    AnyChartInstance → AnyChartInstance
    MaidrData → Maidr
    MaidrLayer → MaidrLayer
    MaidrSubplot → MaidrSubplot
    TraceType → TraceType