MAIDR JavaScript API
    Preparing search index...

    Interface EChartsHandle

    What the binding functions accept for an instance.

    Looser than EChartsBindable, which is what is actually read, because ECharts' own typings declare getModel private: an instance typed ECharts is not assignable to an interface that names it, so a TypeScript caller could not pass echarts.init(...) at all. Every member named here is public, and the rest are there at runtime on every instance.

    interface EChartsHandle {
        getDom: () => HTMLElement;
        getWidth: () => number;
        getHeight: () => number;
    }
    Index

    Properties

    getDom: () => HTMLElement

    The element passed to echarts.init.

    getWidth: () => number

    The chart's width in CSS pixels.

    getHeight: () => number

    The chart's height in CSS pixels.