@progress/kendo-angular-gauges
Version:
Kendo UI Angular Gauges
53 lines (52 loc) • 2.39 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 { Component } from '@angular/core';
import { RadialLabelsComponent } from '../radial-gauge/labels.component';
import { ConfigurationService } from '../services';
import * as i0 from "@angular/core";
import * as i1 from "../services";
/**
* Represents the configuration options for the scale labels of the ArcGauge.
*
* @example
* ```ts
* import { Component } from '@angular/core';
*
* @Component({
* selector: 'my-app',
* template: `
* <kendo-arcgauge [value]="value">
* <kendo-arcgauge-scale>
* <kendo-arcgauge-scale-labels
* color="blue"
* font="12px Arial">
* </kendo-arcgauge-scale-labels>
* </kendo-arcgauge-scale>
* </kendo-arcgauge>
* `
* })
* export class AppComponent {
* public value: number = 50;
* }
* ```
*/
export class ArcLabelsComponent extends RadialLabelsComponent {
configurationService;
constructor(configurationService) {
super(configurationService);
this.configurationService = configurationService;
configurationService.set(`${this.key}.visible`, true);
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ArcLabelsComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ArcLabelsComponent, isStandalone: true, selector: "kendo-arcgauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ArcLabelsComponent, decorators: [{
type: Component,
args: [{
selector: 'kendo-arcgauge-scale-labels',
template: '',
standalone: true
}]
}], ctorParameters: () => [{ type: i1.ConfigurationService }] });