UNPKG

1.72 kBTypeScriptView Raw
1import { EventEmitter, ElementRef, OnChanges, ChangeDetectorRef, SimpleChanges } from '@angular/core';
2import { ScaleType } from '../types/scale-type.enum';
3import { ViewDimensions } from '../types/view-dimension.interface';
4import * as i0 from "@angular/core";
5export declare class Timeline implements OnChanges {
6 private cd;
7 view: [number, number];
8 results: any;
9 scheme: any;
10 customColors: any;
11 legend: boolean;
12 autoScale: boolean;
13 scaleType: ScaleType;
14 height: number;
15 select: EventEmitter<any>;
16 onDomainChange: EventEmitter<any>;
17 element: HTMLElement;
18 dims: ViewDimensions;
19 xDomain: any[];
20 xScale: any;
21 brush: any;
22 transform: string;
23 initialized: boolean;
24 filterId: string;
25 filter: string;
26 constructor(element: ElementRef, cd: ChangeDetectorRef);
27 ngOnChanges(changes: SimpleChanges): void;
28 update(): void;
29 getXDomain(): any[];
30 getXScale(): any;
31 addBrush(): void;
32 updateBrush(): void;
33 getDims(): ViewDimensions;
34 static ɵfac: i0.ɵɵFactoryDeclaration<Timeline, never>;
35 static ɵcmp: i0.ɵɵComponentDeclaration<Timeline, "g[ngx-charts-timeline]", never, { "view": { "alias": "view"; "required": false; }; "results": { "alias": "results"; "required": false; }; "scheme": { "alias": "scheme"; "required": false; }; "customColors": { "alias": "customColors"; "required": false; }; "legend": { "alias": "legend"; "required": false; }; "autoScale": { "alias": "autoScale"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "select": "select"; "onDomainChange": "onDomainChange"; }, never, ["*"], false, never>;
36}