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.

58 lines (57 loc) 2.01 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { drawing } from '@progress/kendo-drawing'; import { AxisTitlePosition, Border, Margin, Padding, TitleVisualArgs } from '../../common/property-types'; /** * Represents the configuration options of the value axis title. */ export interface ValueAxisTitle { /** * Specifies the background color of the title. Accepts a valid CSS color string, including HEX and RGB. */ background?: string; /** * Specifies the border of the title. */ border?: Border; /** * Specifies the text color of the title. Accepts a valid CSS color string, including HEX and RGB. */ color?: string; /** * Specifies the font style of the title. */ font?: string; /** * Specifies the margin of the title. A numeric value sets all margins. */ margin?: Margin | number; /** * Specifies the padding of the title. A numeric value sets all paddings. */ padding?: Padding | number; /** * Specifies the position of the title. */ position?: AxisTitlePosition; /** * Specifies the rotation angle of the title. By default, the title is not rotated. */ rotation?: number; /** * Specifies the text of the title. * You can split the text into multiple lines by using the line feed characters (`"\n"`). */ text?: string; /** * If set to `true`, the Chart displays the value axis title. * By default, the value axis title is visible. */ visible?: boolean; /** * Specifies a function for creating a custom visual for the title. */ visual?: (e: TitleVisualArgs) => drawing.Element; }