UNPKG

@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.

50 lines (49 loc) 2.02 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Border, NoteLabelPosition, SeriesNoteContentArgs } from '../../common/property-types'; /** * Represents the configuration options of the series notes label. */ export interface SeriesDefaultsNotesLabel { /** * Specifies the background color of the label. Accepts a valid CSS color string, including HEX and RGB. */ background?: string; /** * Specifies the border of the label. */ border?: Border; /** * Specifies the text color of the label. Accepts a valid CSS color string, including HEX and RGB. */ color?: string; /** * Specifies the function which returns the label content. * You can split the text into multiple lines by using line feed characters (`"\n"`). */ content?: (e: SeriesNoteContentArgs) => string; /** * Specifies the font style of the label. */ 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 axis value. */ format?: string; /** * Specifies the position of the labels. */ position?: NoteLabelPosition; /** * Specifies the rotation angle of the label. By default, the label is not rotated. */ rotation?: number; /** * Determines whether the Chart displays the [`seriesDefaults`]({% slug api_charts_seriesdefaults %}) notes label. * When set to `true`, the label is visible. By default, the [`seriesDefaults`]({% slug api_charts_seriesdefaults %}) notes label is visible. */ visible?: boolean; }