import { EchartWidgetState } from '../echart'; import { EchartWidgetOptionProps, EchartWidgetProps } from '../echart/types'; import { ConfigProps } from '../loader'; export type HistogramWidgetData = number[][]; export type HistogramWidgetState = EchartWidgetState; export type HistogramWidgetConfig = EchartWidgetProps & { type: 'histogram'; }; export type HistogramConfig = ConfigProps & Pick, 'theme' | 'formatter' | 'labelFormatter'> & { data?: number[][]; ticks: number[]; };