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.

38 lines (37 loc) 1.3 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 } from '@progress/kendo-drawing'; /** * Represents the context for the legend item `visual` function ([see example](slug:legend_chart_charts#toc-customizing-the-shape)). */ export interface LegendItemVisualArgs { /** * Indicates if the legend item is active. * Depends on whether the associated point or series is visible. */ active: boolean; /** * Specifies a function that gets the default visual. */ createVisual: () => drawing.Element; /** * Specifies the options of the legend item. */ options: any; /** * Specifies the index of the point in the series. * Available for the Donut, Pie, and Funnel series. */ pointIndex: any; /** * Specifies the instance of the Chart component. */ sender: ChartComponent; /** * Specifies the item series. */ series: any; }