@progress/kendo-react-charts
Version:
React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package
35 lines (34 loc) • 1.02 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { Chart } from '../Chart.js';
import { drawing } from '@progress/kendo-drawing';
/**
* The context for the legend item visual function.
*/
export interface LegendItemVisualArgs {
/**
* A function that can be used to get the default visual.
*/
createVisual: () => drawing.Element;
/**
* The options of the legend item.
*/
options: any;
/**
* The index of the point in the series. Available for the Donut, Pie, and Funnel series.
*/
pointIndex: any;
/**
* The instance of the Chart component.
*/
sender: Chart;
/**
* The item series.
*/
series: any;
}