ngx-beautiful-charts
Version:
A library to create charts in Angular
38 lines (37 loc) • 1.05 kB
TypeScript
export declare class ClusteredBarChartService {
width: number;
height: number;
minY: number;
maxY: number;
xPadding: number;
yPadding: number;
componentID: number;
data: [{
series: string;
color: string;
data: [{
name: string;
value: number;
}];
}];
rectWidth: number;
rectHeight: number;
legionWidth: number;
legionHeight: number;
diff: number;
constructor();
computeRectDimensions(): void;
computeLegionDimensions(): void;
transformY(y: number): number;
closestMultipleLessThanEqualTo(factor: any, num: any): any;
closestMultipleMoreThanEqualTo(factor: any, num: any): any;
setValues({ componentID: componentID, width: width, height: height, xPadding: xPadding, yPadding: yPadding, data: data }: {
componentID: any;
width: any;
height: any;
xPadding: any;
yPadding: any;
data: any;
}): void;
printAll(): void;
}