1 | import { ElementRef, AfterViewInit } from '@angular/core';
|
2 | import { BaseChartComponent } from '../common/base-chart.component';
|
3 | import { ColorHelper } from '../common/color.helper';
|
4 | import { ViewDimensions } from '../common/types/view-dimension.interface';
|
5 | import { BarOrientation } from '../common/types/bar-orientation.enum';
|
6 | import * as i0 from "@angular/core";
|
7 | declare enum ElementType {
|
8 | Value = "value",
|
9 | Units = "units"
|
10 | }
|
11 | export declare class LinearGaugeComponent extends BaseChartComponent implements AfterViewInit {
|
12 | min: number;
|
13 | max: number;
|
14 | value: number;
|
15 | units: string;
|
16 | previousValue: number;
|
17 | valueFormatting: any;
|
18 | valueTextEl: ElementRef;
|
19 | unitsTextEl: ElementRef;
|
20 | dims: ViewDimensions;
|
21 | valueDomain: [number, number];
|
22 | valueScale: any;
|
23 | colors: ColorHelper;
|
24 | transform: string;
|
25 | margin: number[];
|
26 | transformLine: string;
|
27 | valueResizeScale: number;
|
28 | unitsResizeScale: number;
|
29 | valueTextTransform: string;
|
30 | valueTranslate: string;
|
31 | unitsTextTransform: string;
|
32 | unitsTranslate: string;
|
33 | displayValue: string;
|
34 | hasPreviousValue: boolean;
|
35 | barOrientation: typeof BarOrientation;
|
36 | ngAfterViewInit(): void;
|
37 | update(): void;
|
38 | getValueDomain(): [number, number];
|
39 | getValueScale(): any;
|
40 | getDisplayValue(): string;
|
41 | scaleText(element: ElementType, repeat?: boolean): void;
|
42 | scaleTextSSR(element: any): void;
|
43 | onClick(): void;
|
44 | setColors(): void;
|
45 | static ɵfac: i0.ɵɵFactoryDeclaration<LinearGaugeComponent, never>;
|
46 | static ɵcmp: i0.ɵɵComponentDeclaration<LinearGaugeComponent, "ngx-charts-linear-gauge", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; "units": { "alias": "units"; "required": false; }; "previousValue": { "alias": "previousValue"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; }, {}, never, never, false, never>;
|
47 | }
|
48 | export {};
|