import * as React from 'react'; import { Layout } from 'plotly.js'; import { PlotWrapper } from '../common'; import { ILineChartProps, ILineChartState } from './line-chart.types'; /** * Line chart with enhanced state diffing */ export declare class LineChart extends React.PureComponent { state: { revision: number; dataset: any[]; dataHash: string; useDarkTheme: boolean; chartLayout: any; }; static defaultProps: { heightPx: number; xAxisTitle: string; yAxisTitle: string; panelWrapTitle: string; forceCategoryX: boolean; useDarkTheme: boolean; }; chartLayout: Partial; childRef: React.RefObject; static getDerivedStateFromProps(newProps: ILineChartProps, prevState: ILineChartState): ILineChartState | { dataset: import("../common").AppPlotData[]; revision: number; dataHash: string; useDarkTheme: boolean; chartLayout: { autosize: boolean; margin: { r: number; b: number; t: number; }; paper_bgcolor: string; plot_bgcolor: string; showlegend: boolean; legend: { orientation: string; font: { color: string; }; }; xaxis: { showline: boolean; showgrid: boolean; title: string; automargin: boolean; titlefont: { size: number; color: string; }; color: string; tickcolor: string; linecolor: string; zerolinecolor: string; linewidth: number; nticks: number; ticktext: string[]; type: string; }; yaxis: { showline: boolean; showgrid: boolean; title: string; automargin: boolean; fixedrange: boolean; /** * Export a given chart as an image */ titlefont: { size: number; color: string; }; color: string; tickcolor: string; linecolor: string; zerolinecolor: string; }; }; }; constructor(p: ILineChartProps); componentDidMount(): void; componentWillUnmount(): void; /** * Force the plot to purge */ forcePlotPurge: () => void; /** * Export a given chart as an image */ exportChartAsImage: () => void; render(): JSX.Element; }