UNPKG

@senx/warpview

Version:
67 lines 2.81 kB
import { ElementRef, EventEmitter, NgZone, OnInit, Renderer2 } from '@angular/core'; import { DataModel } from '../../model/dataModel'; import { ChartBounds } from '../../model/chartBounds'; import { WarpViewComponent } from '../warp-view-component'; import { SizeService } from '../../services/resize.service'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class WarpViewChartComponent extends WarpViewComponent implements OnInit { el: ElementRef; renderer: Renderer2; sizeService: SizeService; ngZone: NgZone; line: ElementRef; set hiddenData(hiddenData: number[]); set type(type: string); standalone: boolean; boundsDidChange: EventEmitter<any>; pointHover: EventEmitter<any>; warpViewChartResize: EventEmitter<any>; protected _type: string; private visibility; private maxTick; private minTick; private visibleGtsId; private gtsId; private dataHashset; private chartBounds; private visibilityStatus; private afterBoundsUpdate; private marginLeft; private maxPlottable; private hoverTimeout; parsing: boolean; unhighliteCurve: Subject<number[]>; highliteCurve: Subject<{ on: number[]; off: number[]; }>; layout: Partial<any>; private highlighted; update(options: any, refresh: any): void; constructor(el: ElementRef, renderer: Renderer2, sizeService: SizeService, ngZone: NgZone); ngOnInit(): void; getTimeClip(): Promise<ChartBounds>; resize(layout: { width: number; height: any; }): void; drawChart(reparseNewData?: boolean): void; private emitNewBounds; protected initChart(el: ElementRef, resize?: boolean, customData?: boolean, firstDraw?: boolean): boolean; protected convert(data: DataModel, firstDraw?: boolean): Partial<any>[]; afterPlot(plotlyInstance: any): void; relayout(data: any): void; sliderChange($event: any): void; updateBounds(min: any, max: any): void; setRealBounds(chartBounds: ChartBounds): void; hover(data: any): void; unhover(data: any): void; handleMouseMove(evt: MouseEvent): void; handleMouseEnter(evt: MouseEvent): void; queryShadow([firstShadowSelector, ...restOfTheShadowSelectors]: [any, ...any[]], itemSelector: any): any; handleMouseOut(evt: MouseEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration<WarpViewChartComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<WarpViewChartComponent, "warpview-chart", never, { "hiddenData": "hiddenData"; "type": "type"; "standalone": "standalone"; }, { "boundsDidChange": "boundsDidChange"; "pointHover": "pointHover"; "warpViewChartResize": "warpViewChartResize"; }, never, never>; } //# sourceMappingURL=warp-view-chart.component.d.ts.map