@swimlane/ngx-charts
Version:
Declarative Charting Framework for Angular2 and beyond!
20 lines (19 loc) • 573 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, columns}: {
width: any;
height: any;
margins: any;
showXAxis?: boolean;
showYAxis?: boolean;
xAxisHeight?: number;
yAxisWidth?: number;
showXLabel?: boolean;
showYLabel?: boolean;
showLegend?: boolean;
legendType?: string;
columns?: number;
}): ViewDimensions;