MAIDR JavaScript API
    Preparing search index...

    Interface EChartsInstance

    A rendered ECharts instance.

    getModel is read, and getViewOfComponentModel for where the legend was drawn (#1315). ECharts' typings declare both private, which is why they are named structurally here, and the second is optional so that an instance without it reads as it did before. getZr() and dispatchAction() are deliberately not declared: the first exposes no element-to-DOM-node mapping in the production build, and the second is ECharts' own highlighting, which MaidrLayer.selectors has no way to call (#1195).

    interface EChartsInstance {
        getModel: () => EChartsModel;
        getViewOfComponentModel?: (
            component: EChartsComponentModel,
        ) => { group?: EChartsComponentGroup } | undefined;
    }

    Hierarchy (View Summary)

    Index

    Properties

    getModel: () => EChartsModel
    getViewOfComponentModel?: (
        component: EChartsComponentModel,
    ) => { group?: EChartsComponentGroup } | undefined