@progress/kendo-angular-charts
Version:
Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.
64 lines (63 loc) • 3.02 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 { ConfigurationService } from '../../common/configuration.service';
import { SettingsComponent } from '../../common/settings.component';
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
import { SeriesLabelsTo } from '../../common/property-types';
import * as i0 from "@angular/core";
/**
* Represents the `to` labels configuration of the Chart series.
*/
export declare class SeriesLabelsToComponent extends SettingsComponent implements SeriesLabelsTo {
configurationService: ConfigurationService;
/**
* Specifies the background color of the `to` labels.
*/
background: string;
/**
* Specifies the border configuration of the `to` labels.
*/
border: Border;
/**
* Specifies the text color of the `to` labels.
*/
color: string;
/**
* Specifies a function that returns the content of the `to` labels.
*/
content: (e: SeriesLabelsContentArgs) => string;
/**
* Specifies the font style of the `to` labels.
* @default '12px sans-serif'
*/
font: string;
/**
* Specifies the format of the `to` labels. Uses [IntlService format]({% slug api_intl_intlservice %}#toc-format).
* @default '{0}'
*/
format: string;
/**
* Specifies the margin of the `to` labels. A numeric value sets all margins.
* @default 5
*/
margin: Margin | number;
/**
* Specifies the padding of the `to` labels. A numeric value sets all paddings.
* @default 0
*/
padding: Padding | number;
/**
* Specifies the position of the `to` labels.
*/
position: 'center' | 'insideBase' | 'insideEnd' | 'outsideEnd';
/**
* Determines whether the Chart displays the series `to` labels.
* @default false
*/
visible: boolean;
constructor(configurationService: ConfigurationService);
static ɵfac: i0.ɵɵFactoryDeclaration<SeriesLabelsToComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SeriesLabelsToComponent, "kendo-chart-series-item-labels-to", never, { "background": { "alias": "background"; "required": false; }; "border": { "alias": "border"; "required": false; }; "color": { "alias": "color"; "required": false; }; "content": { "alias": "content"; "required": false; }; "font": { "alias": "font"; "required": false; }; "format": { "alias": "format"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "position": { "alias": "position"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, true, never>;
}