UNPKG

@gooddata/react-components

Version:

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

19 lines (18 loc) 1.16 kB
import Highcharts from "../../highchartsEntryPoint"; import { IPointData, IAxisConfig, IStackItem, IDataLabelsConfig } from "../../../../../../interfaces/Config"; export declare function isOverlappingWidth(visiblePoints: IPointData[]): boolean; export declare function areNeighborsOverlapping(neighbors: IDataLabelsConfig[][]): boolean; export declare function areLabelsOverlappingColumns(labels: IPointData[], visiblePoints: IPointData[]): boolean; /** * Merge stack label points from axes to one * Primary axis: [pointP1, pointP2, pointP3] * Secondary axis: [pointS1, pointS2, pointS3] * @param stacks * @return [pointP1, pointS1, pointP2, pointS2, pointP3, pointS3] */ export declare function getStackLabelPointsForDualAxis(stacks: any[]): any[]; export declare function getStackTotalGroups(yAxis: IAxisConfig[]): Highcharts.SVGAttributes[]; export declare const autohideColumnLabels: (chart: any) => void; export declare const handleColumnLabelsOutsideChart: (chart: any) => void; export declare function getLabelOrDataLabelForPoints(points: IPointData[]): IPointData[]; export declare function getStackItems(yAxis: IAxisConfig[]): IStackItem[];