@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.
40 lines (39 loc) • 1.51 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2024 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { DashType } from '../../common/property-types';
import { AxisDefaultsCrosshairTooltip } from './crosshair.tooltip.interface';
/**
* The configuration options of the axis crosshair
* ([see example](slug:axes_chart_charts#toc-default-axis-configuration)).
*/
export interface AxisDefaultsCrosshair {
/**
* The color of the crosshair. Accepts a valid CSS color string, including `hex` and `rgb`.
*/
color?: string;
/**
* The dash type of the crosshair.
*/
dashType?: DashType;
/**
* The opacity of the crosshair. By default, the crosshair is opaque.
*/
opacity?: number;
/**
* If set to `true`, the Chart displays the axis crosshair.
* By default, the axis crosshair is not visible.
*/
visible?: boolean;
/**
* The width of the crosshair in pixels.
*/
width?: number;
/**
* The options of the crosshair tooltip.
* The crosshair tooltip is displayed when the [`axisDefaults.crosshair.tooltip.visible`](slug:api_charts_axisdefaultscrosshairtooltip#toc-visible)
* option is set to `true`.
*/
tooltip?: AxisDefaultsCrosshairTooltip;
}