lemon-ngx-trend
Version:
ngx-trend Angular component for Lemoncloud
46 lines (45 loc) • 1.09 kB
TypeScript
import { ElementRef, OnChanges } from '@angular/core';
export declare class TrendComponent implements OnChanges {
id: number;
data: (number | {
value: number;
})[];
smooth: boolean;
autoDraw: boolean;
autoDrawDuration: number;
autoDrawEasing: string;
width: number;
height: number;
padding: number;
radius: number;
stroke: string;
strokeLinecap: string;
strokeWidth: number;
gradient: string[];
preserveAspectRatio: string;
svgHeight: string | number;
svgWidth: string | number;
pathEl: ElementRef;
showCircle: boolean;
circleColor: string;
circleWidth: number;
showLastLabel: boolean;
labelColor: string;
maxValue: any;
minValue: any;
circleCoordinates: any[];
lastLabelCoordinates: {
x: any;
y: any;
};
gradientTrimmed: any[];
d: any;
viewBox: string;
pathStroke: any;
gradientId: string;
lineLength: number;
animationState: string;
constructor();
ngOnChanges(): void;
private getLabelCoordinateOfLast;
}