UNPKG

@progress/kendo-angular-gauges

Version:
63 lines (62 loc) 2.44 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ScaleComponent } from '../base-components'; import { ConfigurationService } from '../services'; import { ArcScale, RadialLabels, LineCap } from '../types'; import * as i0 from "@angular/core"; /** * Represents the configuration options for the scale of the ArcGauge * ([see example]({% slug scaleoptions_arcgauge %})). * * @example * ```ts * import { Component } from '@angular/core'; * * @Component({ * selector: 'my-app', * template: ` * <kendo-arcgauge [value]="value"> * <kendo-arcgauge-scale * [startAngle]="-90" * [endAngle]="90" * [rangeDistance]="10"> * </kendo-arcgauge-scale> * </kendo-arcgauge> * ` * }) * export class AppComponent { * public value: number = 30; * } * ``` * * @remarks * Supported children components are: {@link ArcLabelsComponent} */ export declare class ArcScaleComponent extends ScaleComponent implements ArcScale { protected configurationService: ConfigurationService; /** * Sets the scale labels configuration. */ labels?: RadialLabels; /** * Sets the distance between the scale ranges in pixels. */ rangeDistance?: number; /** * Sets the line cap style for the scale ranges. */ rangeLineCap?: LineCap; /** * Sets the start angle of the Gauge in degrees. */ startAngle?: number; /** * Sets the end angle of the Gauge in degrees. */ endAngle?: number; constructor(configurationService: ConfigurationService); static ɵfac: i0.ɵɵFactoryDeclaration<ArcScaleComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ArcScaleComponent, "kendo-arcgauge-scale", never, { "labels": { "alias": "labels"; "required": false; }; "rangeDistance": { "alias": "rangeDistance"; "required": false; }; "rangeLineCap": { "alias": "rangeLineCap"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "endAngle": { "alias": "endAngle"; "required": false; }; }, {}, never, never, true, never>; }