@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.
49 lines (48 loc) • 2.54 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2024 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 { ValueAxisNotesLabel } from '../../common/property-types';
import { SettingsComponent } from '../../common/settings.component';
import * as i0 from "@angular/core";
/**
* The label of the notes.
*/
export declare class ValueAxisNotesLabelComponent extends SettingsComponent implements ValueAxisNotesLabel {
configurationService: ConfigurationService;
background: string;
border: Border;
color: string;
content: (e: AxisNoteContentArgs) => string;
/**
* The font style of the label.
* @default '12px sans-serif'
*/
font: string;
/**
* The format used to display the notes label. Uses the IntlService [`format`]({% slug api_intl_intlservice %}#toc-format) method.
* Contains one placeholder (`"{0}"`) which represents the axis value.
* @default '{0}'
*/
format: string;
/**
* The position of the labels.
* @default 'inside'
*/
position: NoteLabelPosition;
/**
* The rotation angle of the label. By default, the label is not rotated.
* @default 0
*/
rotation: number;
/**
* If set to `true`, the Chart displays the value axis notes label.
* @default true
*/
visible: boolean;
constructor(configurationService: ConfigurationService);
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAxisNotesLabelComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ValueAxisNotesLabelComponent, "kendo-chart-value-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>;
}