UNPKG

710 BTypeScriptView Raw
1import { LegendPosition } from './types/legend.model';
2import { ScaleType } from './types/scale-type.enum';
3import { ViewDimensions } from './types/view-dimension.interface';
4export declare function calculateViewDimensions({ width, height, margins, showXAxis, showYAxis, xAxisHeight, yAxisWidth, showXLabel, showYLabel, showLegend, legendType, legendPosition, columns }: {
5 width: any;
6 height: any;
7 margins: any;
8 showXAxis?: boolean;
9 showYAxis?: boolean;
10 xAxisHeight?: number;
11 yAxisWidth?: number;
12 showXLabel?: boolean;
13 showYLabel?: boolean;
14 showLegend?: boolean;
15 legendType?: ScaleType;
16 legendPosition?: LegendPosition;
17 columns?: number;
18}): ViewDimensions;