UNPKG

@gooddata/react-components

Version:

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

29 lines (28 loc) 1.16 kB
export declare type IHighchartsAxis = Partial<Highcharts.Axis> & Partial<Highcharts.ExtremesObject> & Highcharts.ChartParallelAxesOptions; export interface IHighchartsAxisExtend extends IHighchartsAxis { len?: number | null; transA?: number; translationSlope?: number; options?: Highcharts.YAxisOptions; chart?: any; translate?(val: number, backwards: number | boolean, cvsCoord: number | boolean, old: number | boolean, handleLog: number | boolean, pointPlacement?: number): number | undefined; } declare type IHighchartsPoint = Partial<Highcharts.Point>; export declare type IHighchartsSeriesOptionsType = Partial<Highcharts.SeriesOptionsType>; interface IHighchartsSeries { area?: Highcharts.SVGElement; type: string; name: string; chart: Highcharts.Chart; data: IHighchartsPoint[]; graph?: Highcharts.SVGElement; options: IHighchartsSeriesOptionsType; points: IHighchartsPoint[]; visible: boolean; xAxis: IHighchartsAxisExtend; yAxis: IHighchartsAxisExtend; } export interface IHighchartsSeriesExtend extends Partial<IHighchartsSeries> { pointPlacementToXValue?(): number; } export {};