@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.
51 lines (50 loc) • 2.23 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Border, Padding } from '../../common/property-types';
/**
* Represents the configuration options of the series tooltip.
*/
export interface SeriesDefaultsTooltip {
/**
* Specifies the background color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
*/
background?: string;
/**
* Specifies the border configuration options.
*/
border?: Border;
/**
* Specifies the text color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
*/
color?: string;
/**
* Specifies the tooltip font.
*/
font?: string;
/**
* Specifies the format of the labels. Uses the [`format`]({% slug api_intl_intlservice %}#toc-format) method of `IntlService`.
*
* Area, Bar, Column, Funnel, Pyramid, Line, and Pie charts are represented by `{0}` as the value placeholder.
*
* Bubble chart type uses the following value placeholders: `{0}` - x value, `{1}` - y value, `{2}` - size value, and `{3}` - category name.
*
* Scatter and ScatterLine chart types use the following value placeholders: `{0}` - x value and `{1}` - y value.
*
* Candlestick and OHLC chart types use the following value placeholders: `{0}` - open value, `{1}` - high value, `{2}` - low value, `{3}` - close value, and `{4}` - category name.
*
* RangeArea, RangeBar, and RangeColumn chart types utilize the following value placeholders: `{0}` - from value and `{1}` - to value.
*
*/
format?: string;
/**
* Specifies the padding of the tooltip. A numeric value sets all paddings.
*/
padding?: Padding | number;
/**
* Determines whether the Chart displays the series tooltip.
* When set to `true`, the tooltip is visible. By default, the series tooltip is not displayed.
*/
visible?: boolean;
}