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