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.

55 lines (54 loc) 2.86 kB
/**----------------------------------------------------------------------------------------- * 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 { Border, Padding } from '../../common/property-types'; import { AxisDefaultsCrosshairTooltip } from '../../common/property-types'; import { SettingsComponent } from '../../common/settings.component'; import * as i0 from "@angular/core"; /** * Represents the available options of the crosshair tooltip ([see example]({% slug crosshairs_chart_charts %})). * The crosshair tooltip is displayed when the [`axisDefaults.crosshair.tooltip.visible`]({% slug api_charts_axisdefaultscrosshairtooltipcomponent %}#toc-visible) * option is set to `true`. */ export declare class AxisDefaultsCrosshairTooltipComponent extends SettingsComponent implements AxisDefaultsCrosshairTooltip { configurationService: ConfigurationService; /** * Sets the background color of the tooltip. */ background: string; /** * Specifies the border configuration of the tooltip. */ border: Border; /** * Sets the text color of the tooltip. */ color: string; /** * Specifies the tooltip font. * @default '12px sans-serif' */ font: string; /** * Specifies 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 category value. * @default '{0}' */ format: string; /** * Specifies the padding of the crosshair tooltip. A numeric value sets all paddings. * @default 0 */ padding: Padding | number; /** * Determines whether the Chart displays the axis crosshair tooltip. * By default, the axis crosshair tooltip is not visible. * @default false */ visible: boolean; constructor(configurationService: ConfigurationService); static ɵfac: i0.ɵɵFactoryDeclaration<AxisDefaultsCrosshairTooltipComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AxisDefaultsCrosshairTooltipComponent, "kendo-chart-axis-defaults-crosshair-tooltip", never, { "background": { "alias": "background"; "required": false; }; "border": { "alias": "border"; "required": false; }; "color": { "alias": "color"; "required": false; }; "font": { "alias": "font"; "required": false; }; "format": { "alias": "format"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, true, never>; }