mgx-circular-progress-bar
Version:
A library for circular progress bars components, an elegant way to rappresent your percentages.
23 lines (22 loc) • 651 B
TypeScript
import { OnChanges, TemplateRef } from '@angular/core';
export declare class MgxCircularProgressPieComponent implements OnChanges {
total: number;
barValue: number;
percentage: number;
contentTemplate: TemplateRef<any>;
diameter: number;
fontSize: number;
color: string;
bgColor: string;
bgSize: number;
private mgxPrefix;
pathData: string;
newPathData: string;
percentual: number;
constructor();
ngOnChanges(): void;
private setSlice(percent);
private getCoordinatesForPercent(percent);
private showWarnings();
getFontSize(reducer?: number): string;
}