/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { Border, NoteLabelPosition } from '../../common/property-types'; /** * @hidden */ export interface ValueAxisNotesLabel { /** * The background color of the label. Accepts a valid CSS color string, including hex and rgb. */ background?: string; /** * The border of the label. */ border?: Border; /** * The text color of the label. Accepts a valid CSS color string, including hex and rgb. */ color?: string; /** * The function which returns the label content. The function argument contains a `value` field. It defines the axis value. You can split the text into multiple lines by using the line feed characters (`"\n"`). */ content?: (e: any) => string; /** * The font style of the label. */ 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. */ format?: string; /** * The position of the labels. * * The supported values are: * - `"inside"`—The label is positioned inside the icon. * - `"outside"`—The label is positioned outside the icon. */ position?: NoteLabelPosition | string; /** * The rotation angle of the label. By default, the label is not rotated. */ rotation?: number; /** * If set to `true`, the Chart displays the value axis notes label. By default, the value axis notes label is visible. */ visible?: boolean; }