UNPKG

@progress/kendo-angular-gauges

Version:
48 lines (47 loc) 2.28 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { NgZone, ElementRef, Renderer2 } from '@angular/core'; import { ConfigurationService, ThemeService } from '../services'; import { IntlService } from '@progress/kendo-angular-intl'; import { LocalizationService } from '@progress/kendo-angular-l10n'; import { LinearPointer, LinearScale } from '../types'; import { GaugeComponent } from '../base-components'; import * as i0 from "@angular/core"; /** * Represents the [Kendo UI LinearGauge component for Angular]({% slug overview_lineargauge_gauges %}). * * @example * ```ts * import { Component } from '@angular/core'; * * _Component({ * selector: 'my-app', * template: ` * <kendo-lineargauge [pointer]="{ value: value }"> * </kendo-lineargauge> * ` * }) * class AppComponent { * public value: number = 10; * } * ``` * * @remarks * Supported children components are: {@link LinearScaleComponent}, {@link LinearLabelsComponent}, {@link LinearGaugeAreaComponent}, {@link LinearPointersComponent}, {@link LinearRangesComponent}. */ export declare class LinearGaugeComponent extends GaugeComponent { /** * Configures the pointers of the LinearGauge. */ pointer: LinearPointer | LinearPointer[]; /** * Configures the scale of the LinearGauge. */ scale: LinearScale; constructor(configurationService: ConfigurationService, themeService: ThemeService, intlService: IntlService, localizationService: LocalizationService, element: ElementRef, renderer: Renderer2, ngZone: NgZone); protected createInstance(element: any, options: any, theme: any, context: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<LinearGaugeComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<LinearGaugeComponent, "kendo-lineargauge", ["kendoLinearGauge"], { "pointer": { "alias": "pointer"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; }, {}, never, never, true, never>; }