UNPKG

@syncfusion/ej2-react-charts

Version:

Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball. for React

42 lines (41 loc) 1.21 kB
import * as React from 'react'; import { Chart, ChartModel } from '@syncfusion/ej2-charts'; import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base'; export interface ChartTypecast { tooltip?: any; legendSettings?: any; } /** * Represents react Chart Component * ```tsx * <ChartComponent></ChartComponent> * ``` */ export declare class ChartComponent extends Chart { state: Readonly<{ children?: React.ReactNode | React.ReactNode[]; }> & Readonly<ChartModel | DefaultHtmlAttributes | ChartTypecast>; setState: any; private getDefaultAttributes; initRenderCalled: boolean; private checkInjectedModules; directivekeys: { [key: string]: Object; }; private statelessTemplateProps; private templateProps; private immediateRender; private isReactMock; props: Readonly<{ children?: React.ReactNode | React.ReactNode[]; }> & Readonly<ChartModel | DefaultHtmlAttributes | ChartTypecast>; forceUpdate: (callBack?: () => any) => void; context: Object; portals: any; isReactComponent: Object; refs: { [key: string]: React.ReactInstance; }; constructor(props: any); render(): any; }