UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

24 lines (23 loc) 784 B
import * as React from "react"; import { IChartConfig } from "../../../interfaces/Config"; import Highcharts from "./highcharts/highchartsEntryPoint"; export interface IChartProps { config: IChartConfig; domProps: any; callback(): void; } export default class Chart extends React.Component<IChartProps> { static defaultProps: Partial<IChartProps>; private chart; private chartRef; constructor(props: IChartProps); componentDidMount(): void; shouldComponentUpdate(nextProps: IChartProps): boolean; componentDidUpdate(): void; componentWillUnmount(): void; setChartRef(ref: HTMLElement): void; getHighchartRef(): HTMLElement; getChart(): Highcharts.Chart; createChart(config: IChartConfig): void; render(): JSX.Element; }