UNPKG

@progress/kendo-react-charts

Version:

React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package

67 lines (66 loc) 2.21 kB
/** * @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, Margin, Padding } from '../common/property-types.js'; /** * @hidden */ export interface Title { /** * The alignment of the title. * * The available options are: * - `"center"`—The text is aligned to the middle. * - `"left"`—The text is aligned to the left. * - `"right"`—The text is aligned to the right. */ align?: 'center' | 'left' | 'right'; /** * The background color of the title. Accepts a valid CSS color string, including hex and rgb. */ background?: string; /** * The border of the series. */ border?: Border; /** * The text color of the title. Accepts a valid CSS color string, including hex and rgb. */ color?: string; /** * The font of the title. */ font?: string; /** * The margin of the title. A numeric value sets all margins. */ margin?: Margin | number; /** * The padding of the title. A numeric value sets all margins. */ padding?: Padding | number; /** * The position of the title. * * The available options are: * - `"bottom"`—The title is positioned on the bottom. * - `"top"`—The title is positioned on the top. */ position?: 'top' | 'bottom'; /** * The text of the chart title. You can also set the text directly for a title with default options. You can split the text into multiple lines by using the line feed characters ("\n"). */ text?: string; /** * The accessible description of the Chart. The description is announced by screen readers when the Chart is focused.("\n"). */ description?: string; /** * If set to `true`, the Chart displays the title. By default, the title is displayed. */ visible?: boolean; }