File

projects/ngx-echarts/src/lib/config.ts

Index

Properties

Properties

echarts
echarts: any |
Type : any |
theme
theme: string | ThemeOption
Type : string | ThemeOption
Optional
import { InjectionToken } from '@angular/core';

export type ThemeOption = Record<string, any>;

export interface NgxEchartsConfig {
  echarts: any | (() => Promise<any>);
  theme?: string | ThemeOption;
}

export const NGX_ECHARTS_CONFIG = new InjectionToken<NgxEchartsConfig>('NGX_ECHARTS_CONFIG');

results matching ""

    No results matching ""