@progress/kendo-angular-gauges
Version:
Kendo UI Angular Gauges
50 lines (49 loc) • 2.19 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* 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 { LinearScale, Line, Range } from '../types';
import * as i0 from "@angular/core";
/**
* Represents the configuration options for the scale of the LinearGauge
* ([see example]({% slug scaleoptions_lineargauge %})).
*
* @example
* ```html
* <kendo-lineargauge>
* <kendo-lineargauge-scale [mirror]="true" [vertical]="false">
* </kendo-lineargauge-scale>
* </kendo-lineargauge>
* ```
*
* @remarks
* Supported children components are: {@link LinearLabelsComponent}, {@link LinearRangesComponent}.
*/
export declare class LinearScaleComponent extends ScaleComponent implements LinearScale {
protected configurationService: ConfigurationService;
/**
* Configures the appearance of the scale line.
*/
line?: Line;
/**
* Configures the ranges that are displayed on the scale.
*/
ranges?: Range[];
/**
* Mirrors the scale labels and ticks. When you set this option to `true`, the labels and ticks appear on the opposite side of the scale.
*
* @default false
*/
mirror?: boolean;
/**
* Sets the orientation of the scale. When you set this option to `false`, the scale displays horizontally.
*
* @default true
*/
vertical?: boolean;
constructor(configurationService: ConfigurationService);
static ɵfac: i0.ɵɵFactoryDeclaration<LinearScaleComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<LinearScaleComponent, "kendo-lineargauge-scale", never, { "line": { "alias": "line"; "required": false; }; "ranges": { "alias": "ranges"; "required": false; }; "mirror": { "alias": "mirror"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; }, {}, never, never, true, never>;
}