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.

42 lines (41 loc) 1.49 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2024 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Padding } from '../common/property-types'; import { TooltipBorder } from './tooltip-border.interface'; /** * @hidden */ export interface AxisCrosshairTooltip { /** * The background color of the tooltip. Accepts a valid CSS color string, including HEX and RGB. */ background?: string; /** * The border options of the tooltip. */ border?: TooltipBorder; /** * The text color of the tooltip. Accepts a valid CSS color string, including HEX and RGB. */ color?: string; /** * The font of the tooltip. */ font?: string; /** * The format for displaying the tooltip. Uses the [`format`](slug:api_intl_intlservice#toc-format) method of `IntlService`. * Contains one placeholder (`"{0}"`) which represents the value. */ format?: string; /** * The padding of the crosshair tooltip. A numeric value sets all paddings. */ padding?: Padding | number; /** * If set to `true`, the Chart displays the axis crosshair tooltip. * By default, the axis crosshair tooltip is not visible. */ visible?: boolean; }