UNPKG

@thachnuida/ngx-uplot

Version:
23 lines (22 loc) 968 B
import { OnChanges, SimpleChanges, ElementRef, OnDestroy } from '@angular/core'; import { NgxUplotService } from './ngx-uplot.service'; import * as i0 from "@angular/core"; export declare class NgxUplotComponent implements OnChanges, OnDestroy { private _element; private service; options: any; data: uPlot.AlignedData; /** * Flag controlling whether to reset the scales on data change. Defaults to true. */ resetScales: boolean; chartElm: uPlot; constructor(_element: ElementRef, service: NgxUplotService); ngOnChanges(changes: SimpleChanges): void; addChartSize(): void; ngOnDestroy(): void; destroy(): void; create(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxUplotComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgxUplotComponent, "ngx-uplot", never, { "options": "options"; "data": "data"; "resetScales": "resetScales"; }, {}, never, never, false>; }