@progress/kendo-angular-gauges
Version:
Kendo UI Angular Gauges
62 lines (61 loc) • 2.54 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 { SettingsComponent } from './settings.component';
import { Border, Margin, Padding, Labels } from '../types';
import { ConfigurationService } from '../services';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class LabelsComponent extends SettingsComponent implements Labels {
protected key: string;
protected configurationService: ConfigurationService;
/**
* The background of the labels.
* Accepts valid CSS color strings, including hex and rgb.
*/
background?: string;
/**
* The border of the labels.
*/
border?: Border;
/**
* The color of the labels.
* Accepts valid CSS color strings, including hex and rgb.
*/
color?: string;
/**
* The font of the labels.
*/
font?: string;
/**
* The format that is used to display the labels.
* Uses the IntlService [`format`]({% slug api_intl_intlservice %}#toc-format) method.
*/
format?: string;
/**
* The margin of the labels.
*/
margin?: number | Margin;
/**
* The padding of the labels.
*/
padding?: number | Padding;
/**
* The function which returns the label content.
*
* The available fields in the function argument are:
*
* - `value`—The value of the label.
*/
content?: (e: any) => string;
/**
* The visibility of the labels.
*/
visible?: boolean;
constructor(key: string, configurationService: ConfigurationService);
static ɵfac: i0.ɵɵFactoryDeclaration<LabelsComponent, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<LabelsComponent, never, never, { "background": { "alias": "background"; "required": false; }; "border": { "alias": "border"; "required": false; }; "color": { "alias": "color"; "required": false; }; "font": { "alias": "font"; "required": false; }; "format": { "alias": "format"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "content": { "alias": "content"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
}