@progress/kendo-angular-gauges
Version:
Kendo UI Angular Gauges
46 lines (45 loc) • 2.27 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Input, Component } from '@angular/core';
import { LabelsComponent } from '../base-components';
import { ConfigurationService } from '../services';
import * as i0 from "@angular/core";
import * as i1 from "../services";
/**
* Configures the configuration options for the scale labels of the RadialGauge.
*
* @example
* ```html
* <kendo-radialgauge>
* <kendo-radialgauge-scale>
* <kendo-radialgauge-scale-labels [visible]="true" [format]="'N0'">
* </kendo-radialgauge-scale-labels>
* </kendo-radialgauge-scale>
* </kendo-radialgauge>
* ```
*/
export class RadialLabelsComponent extends LabelsComponent {
configurationService;
/**
* Sepcifies rhe position of the labels relative to the scale.
*/
position;
constructor(configurationService) {
super('scale.labels', configurationService);
this.configurationService = configurationService;
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RadialLabelsComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RadialLabelsComponent, isStandalone: true, selector: "kendo-radialgauge-scale-labels", inputs: { position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RadialLabelsComponent, decorators: [{
type: Component,
args: [{
selector: 'kendo-radialgauge-scale-labels',
template: '',
standalone: true
}]
}], ctorParameters: () => [{ type: i1.ConfigurationService }], propDecorators: { position: [{
type: Input
}] } });