@progress/kendo-angular-gauges
Version:
Kendo UI Angular Gauges
40 lines (39 loc) • 2.07 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 { LabelsComponent } from '../base-components';
import { ConfigurationService } from '../services';
import * as i0 from "@angular/core";
import * as i1 from "../services";
/**
* Represents the configuration options for the LinearGauge scale labels.
*
* @example
* ```html
* <kendo-lineargauge>
* <kendo-lineargauge-scale>
* <kendo-lineargauge-scale-labels [visible]="true" [format]="'N0'">
* </kendo-lineargauge-scale-labels>
* </kendo-lineargauge-scale>
* </kendo-lineargauge>
* ```
*/
export class LinearLabelsComponent extends LabelsComponent {
configurationService;
constructor(configurationService) {
super('scale.labels', configurationService);
this.configurationService = configurationService;
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinearLabelsComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LinearLabelsComponent, isStandalone: true, selector: "kendo-lineargauge-scale-labels", usesInheritance: true, ngImport: i0, template: '', isInline: true });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinearLabelsComponent, decorators: [{
type: Component,
args: [{
selector: 'kendo-lineargauge-scale-labels',
template: '',
standalone: true
}]
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; } });