ngx-trend
Version:
ngx-trend Angular component
40 lines (39 loc) • 1.51 kB
TypeScript
import { ElementRef, OnChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class TrendComponent implements OnChanges {
id: number;
data?: Array<(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;
gradientTrimmed: Array<{
idx: number;
stopColor: string;
offset: number;
}>;
d: any;
viewBox: string;
pathStroke: any;
gradientId: string;
lineLength: number;
animationState: string;
constructor();
ngOnChanges(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TrendComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TrendComponent, "ngx-trend", never, { "data": "data"; "smooth": "smooth"; "autoDraw": "autoDraw"; "autoDrawDuration": "autoDrawDuration"; "autoDrawEasing": "autoDrawEasing"; "width": "width"; "height": "height"; "padding": "padding"; "radius": "radius"; "stroke": "stroke"; "strokeLinecap": "strokeLinecap"; "strokeWidth": "strokeWidth"; "gradient": "gradient"; "preserveAspectRatio": "preserveAspectRatio"; "svgHeight": "svgHeight"; "svgWidth": "svgWidth"; }, {}, never, never>;
}