import { CurveType } from './shared/chart.interface'; export interface RealtimeChartData { date: Date; value: number; } export interface RealtimeChartLineOptions { color?: string; opacity?: number; lineWidth?: number; area?: boolean; areaColor?: string; areaOpacity?: number; curve?: CurveType; } interface RealtimeChartGridOptions { enable?: boolean; color?: string; size?: number; dashed?: boolean; opacity?: number; ticks?: boolean; tickNumber?: number; tickPadding?: number; tickFontSize?: number; tickFontWeight?: 'normal' | 'bold' | 'bolder' | 'lighter' | number; tickFontColor?: string; tickFontFamily?: string; tickFontAnchor?: 'start' | 'middle' | 'end'; } export interface RealtimeChartXGridOptions extends RealtimeChartGridOptions { tickFormat?: string; } export interface RealtimeChartYGridOptions extends RealtimeChartGridOptions { min?: number | 'auto'; max?: number | 'auto'; tickValues?: string[]; tickFormat?: string | ((v: string | number) => string); } export interface RealtimeChartOptions { width?: number; height?: number; margin?: { top?: number; right?: number; bottom?: number; left?: number; }; fps?: number; timeSlots?: number; lines?: RealtimeChartLineOptions[]; xGrid?: RealtimeChartXGridOptions; yGrid?: RealtimeChartYGridOptions; colors?: string[]; } export declare const defaultRealtimeChartOptions: RealtimeChartOptions; export {};