UNPKG

1.64 kBTypeScriptView Raw
1import { OnChanges, SimpleChanges } from '@angular/core';
2import { TextAnchor } from '../common/types/text-anchor.enum';
3import * as i0 from "@angular/core";
4interface Big {
5 line: string;
6 text: string;
7 textAnchor: string;
8 textTransform: string;
9}
10interface Ticks {
11 big: Big[];
12 small: Array<{
13 line: string;
14 }>;
15}
16export declare class GaugeAxisComponent implements OnChanges {
17 bigSegments: number;
18 smallSegments: number;
19 min: number;
20 max: number;
21 angleSpan: number;
22 startAngle: number;
23 radius: number;
24 valueScale: any;
25 tickFormatting: any;
26 ticks: Ticks;
27 rotationAngle: number;
28 rotate: string;
29 ngOnChanges(changes: SimpleChanges): void;
30 update(): void;
31 getTicks(): Ticks;
32 getTextAnchor(angle: number): TextAnchor;
33 getTickPath(startDistance: number, tickLength: number, angle: number): any;
34 static ɵfac: i0.ɵɵFactoryDeclaration<GaugeAxisComponent, never>;
35 static ɵcmp: i0.ɵɵComponentDeclaration<GaugeAxisComponent, "g[ngx-charts-gauge-axis]", never, { "bigSegments": { "alias": "bigSegments"; "required": false; }; "smallSegments": { "alias": "smallSegments"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "angleSpan": { "alias": "angleSpan"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "valueScale": { "alias": "valueScale"; "required": false; }; "tickFormatting": { "alias": "tickFormatting"; "required": false; }; }, {}, never, never, false, never>;
36}
37export {};