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.

57 lines (56 loc) 1.79 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ChartComponent } from '../chart.component'; import { drawing, geometry } from '@progress/kendo-drawing'; /** * Represents the context for the point highlight `visual` function. */ export interface HighlightVisualArgs { /** * Specifies the category of the point. */ category: any; /** * Specifies a function that gets the default visual element. */ createVisual: () => drawing.Element; /** * Provides the data item associated with the point. */ dataItem: any; /** * Defines the options for the point. */ options: any; /** * Represents the value of the point as a percentage. Available only for the Donut, Pie, and 100% Stacked series. */ percentage?: number; /** * Specifies the rectangle that defines the normal position of the visual. */ rect: geometry.Rect; /** * Specifies the sum of point values since the last `runningTotal` summary point. Available for the Waterfall series. */ runningTotal?: number; /** * Specifies the instance of the Chart component. */ sender: ChartComponent; /** * Specifies the series to which the point belongs. */ series: any; /** * Specifies the sum of all previous series values. * Available for the Waterfall series. */ total?: number; /** * Represents the value of the point. */ value: any; }