@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.
35 lines (34 loc) • 1.32 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 { ValueAxisCrosshairTooltip } from './crosshair.tooltip.interface';
/**
* Represents the value axis crosshair options.
*/
export interface ValueAxisCrosshair {
/**
* Sets the color of the crosshair.
* Accepts a valid CSS color string, including HEX and RGB.
*/
color?: string;
/**
* Sets the opacity of the crosshair.
* By default, the crosshair is opaque.
*/
opacity?: number;
/**
* Determines if the Chart displays the value axis crosshair.
* By default, the value axis crosshair is not visible.
*/
visible?: boolean;
/**
* Sets the width of the crosshair in pixels.
*/
width?: number;
/**
* Configures the crosshair tooltip options.
* The crosshair tooltip is displayed when the [`valueAxis.crosshair.tooltip.visible`]({% slug api_charts_valueaxiscrosshairtooltip %}#toc-visible) option is set to `true`.
*/
tooltip?: ValueAxisCrosshairTooltip;
}