@swimlane/ngx-charts
Version:
Declarative Charting Framework for Angular
21 lines (20 loc) • 640 B
TypeScript
export interface ViewDimensions {
width: number;
height: number;
xOffset: number;
}
export declare function calculateViewDimensions({ width, height, margins, showXAxis, showYAxis, xAxisHeight, yAxisWidth, showXLabel, showYLabel, showLegend, legendType, legendPosition, columns }: {
width: any;
height: any;
margins: any;
showXAxis?: boolean;
showYAxis?: boolean;
xAxisHeight?: number;
yAxisWidth?: number;
showXLabel?: boolean;
showYLabel?: boolean;
showLegend?: boolean;
legendType?: string;
legendPosition?: string;
columns?: number;
}): ViewDimensions;