stz-chart-maker Documentation - v2.3.7
    Preparing search index...

    Interface MountChartHandle

    mountChart 가 반환하는 마운트 결과입니다.

    interface MountChartHandle {
        chartId: string;
        destroy: () => void;
        ready: Promise<
            Chart<
                keyof ChartTypeRegistry,
                (
                    | number
                    | Point
                    | [number, number]
                    | BubbleDataPoint
                    | TreemapDataPoint
                    | null
                )[],
                unknown,
            >,
        >;
    }
    Index

    Properties

    Properties

    chartId: string

    config._chartId 또는 config.options._chartId 에서 해석된 안정적인 차트 id입니다.

    destroy: () => void

    마운트된 차트를 제거하고 활성 overlay도 함께 정리합니다.

    ready: Promise<
        Chart<
            keyof ChartTypeRegistry,
            (
                | number
                | Point
                | [number, number]
                | BubbleDataPoint
                | TreemapDataPoint
                | null
            )[],
            unknown,
        >,
    >

    차트 인스턴스 생성과 spinner overlay lifecycle이 모두 끝나면 resolve 됩니다.