/// import { Options, IndividualSeriesOptions, TooltipOptions } from 'highcharts'; export interface IChartConfig extends Options { series: IChartSeries[]; xAxis?: any; yAxis?: any; getBaseConfig(type: any, title: any, xAxis: any, subtitle: any): IChartConfig; addSeries(data: IChartSeries[]): IChartConfig; } /** * interface IChartSeries extends IndividualSeriesOptions and adds new */ export interface IChartSeries extends IndividualSeriesOptions { isGrouped?: boolean; colors?: any; marker?: any; tooltip?: TooltipOptions; boxplotCategories?: any[]; } export interface ITableData { columns: string[]; data: string[][]; } export interface IBoxAndWhiskerDataPoints { x: any; y: Array; label?: string; } export interface IScatterDataPoints { x: any; y: any; label?: string; } export interface IChartStatsCalc { data: number[]; getPercentile(percentile: number): number; getThreeSigmaHigh(): number; getThreeSigmaLow(): number; getWhiskerHigh(): number; getWhiskerLow(): number; getWhiskerLow(): number; getMedian(): number; getLowerQuantile(): number; getUpperQuantile(): number; } export interface IBoxPlotSeriesDefaultBoxToolTip { low: number; high: number; q1: number; q3: number; median: number; } export interface BoxPlotOptions { colorByColumn?: string; colorInliers?: string; colorOutliers?: string; shapeInliers?: string; shapeOutliers?: string; }