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.

54 lines (53 loc) 1.85 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 series notes label options. */ export interface SeriesNotesLabel { /** * Sets the background color of the label. * Accepts a valid CSS color string, including HEX and RGB. */ background?: string; /** * Configures the border of the label. */ border?: Border; /** * Sets the text color of the label. * Accepts a valid CSS color string, including HEX and RGB. */ color?: string; /** * Sets 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; /** * Sets the font style of the label. */ font?: string; /** * Sets the format for displaying the notes label. * Uses the [`format`]({% slug api_intl_intlservice %}#toc-format) method of `IntlService` and contains one placeholder (`"{0}"`) which represents the axis value. */ format?: string; /** * Sets the position of the labels. * */ position?: NoteLabelPosition; /** * Sets the rotation angle of the label. * By default, the label is not rotated. */ rotation?: number; /** * Determines if the Chart displays the series notes label. * By default, the series notes label is visible. */ visible?: boolean; }