UNPKG

@twp0217/ngx-echarts

Version:

Apache ECharts component for Angular

22 lines (21 loc) 754 B
import * as echarts from 'echarts'; declare type EChartsInitType = typeof echarts.init; export declare type EChartsType = typeof echarts; export declare type EChartsOption = echarts.EChartsOption; export declare type EChartsTheme = Parameters<EChartsInitType>['1']; export declare type EChartsInitOpts = Parameters<EChartsInitType>['2']; export declare type EchartsInstance = echarts.EChartsType; export interface EChartsSetOptionOpts { notMerge?: boolean; lazyUpdate?: boolean; silent?: boolean; replaceMerge?: string | string[]; } export interface EChartsLoadingConfig { type?: 'default'; opts?: object; } export declare type EchartsOnEvents = { [eventName: string]: (event: any) => void; }; export {};