@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.
60 lines (59 loc) • 2.59 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 { ConfigurationService } from '../../common/configuration.service';
import { ValueAxisCrosshair, ValueAxisCrosshairTooltip } from '../../common/property-types';
import { SettingsComponent } from '../../common/settings.component';
import * as i0 from "@angular/core";
/**
* Represents the crosshair configuration options of the Chart value axis ([see example]({% slug crosshairs_chart_charts %})).
*
* @example
* ```html
* <kendo-chart>
* <kendo-chart-value-axis>
* <kendo-chart-value-axis-item>
* <kendo-chart-value-axis-item-crosshair [visible]="true" color="#ff0000" [width]="2">
* <kendo-chart-value-axis-item-crosshair-tooltip format="c"></kendo-chart-value-axis-item-crosshair-tooltip>
* </kendo-chart-value-axis-item-crosshair>
* </kendo-chart-value-axis-item>
* </kendo-chart-value-axis>
* </kendo-chart>
* ```
*
* @remarks
* Supported children components are: {@link ValueAxisCrosshairTooltipComponent}.
*/
export declare class ValueAxisCrosshairComponent extends SettingsComponent implements ValueAxisCrosshair {
configurationService: ConfigurationService;
/**
* Specifies the color of the crosshair.
*/
color: string;
/**
* Specifies the opacity of the crosshair.
*
* @default 1
*/
opacity: number;
/**
* Determines whether the Chart displays the value axis crosshair.
*
* @default false
*/
visible: boolean;
/**
* Specifies the width of the crosshair in pixels.
*
* @default 1
*/
width: number;
/**
* Specifies the tooltip configuration of the crosshair.
*/
tooltip: ValueAxisCrosshairTooltip;
constructor(configurationService: ConfigurationService);
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAxisCrosshairComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ValueAxisCrosshairComponent, "kendo-chart-value-axis-item-crosshair", never, { "color": { "alias": "color"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "width": { "alias": "width"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, true, never>;
}