ngx-beautiful-charts
Version:
A library to create charts in Angular
30 lines (29 loc) • 775 B
TypeScript
export declare class PieChartService {
width: number;
height: number;
xPadding: number;
yPadding: number;
componentID: number;
data: [{
name: string;
color: string;
value: number;
}];
pieRadius: number;
rectWidth: number;
rectHeight: number;
legionWidth: number;
legionHeight: number;
constructor();
computeRectDimensions(): void;
computeLegionDimensions(): void;
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;
}