@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.
62 lines (61 loc) • 2.98 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 { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
import { CategoryAxisNotesLabel } from '../../common/property-types';
import { SettingsComponent } from '../../common/settings.component';
import * as i0 from "@angular/core";
/**
* Represents the label configuration for the category axis notes in the Chart.
*/
export declare class CategoryAxisNotesLabelComponent extends SettingsComponent implements CategoryAxisNotesLabel {
configurationService: ConfigurationService;
/**
* Sets the background color of the label.
*/
background: string;
/**
* Configures the border of the label.
*/
border: Border;
/**
* Sets the text color of the label.
*/
color: string;
/**
* Provides a function that creates the content of the label.
*/
content: (e: AxisNoteContentArgs) => string;
/**
* Specifies the font style of the label.
* @default '12px, sans-serif'
*/
font: string;
/**
* Specifies the format for displaying the notes label. Uses the [`format`]({% slug api_intl_intlservice %}#toc-format) method of IntlService.
* Contains one placeholder (`"{0}"`) which represents the category value.
* @default '{0}'
*/
format: string;
/**
* Specifies the position of the label.
* @default "inside"
*/
position: NoteLabelPosition;
/**
* Specifies the rotation angle of the label. By default, the label is not rotated.
* @default 0
*/
rotation: number;
/**
* Determines whether the Chart displays the category notes label.
* By default, the category notes label is visible.
* @default true
*/
visible: boolean;
constructor(configurationService: ConfigurationService);
static ɵfac: i0.ɵɵFactoryDeclaration<CategoryAxisNotesLabelComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CategoryAxisNotesLabelComponent, "kendo-chart-category-axis-item-notes-label", 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; }; "position": { "alias": "position"; "required": false; }; "rotation": { "alias": "rotation"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, true, never>;
}