@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.
48 lines (47 loc) • 1.41 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 { ChartComponent } from '../chart.component';
import { drawing, geometry } from '@progress/kendo-drawing';
/**
* Represents the context for the axis label `visual` function.
*/
export interface AxisLabelVisualArgs {
/**
* Specifies a function that gets the default visual.
*/
createVisual: () => drawing.Element;
/**
* Specifies the default culture (if set) of the label.
*/
culture: string;
/**
* Specifies the data item if a field is specified.
*/
dataItem?: any;
/**
* Specifies the default format of the label.
*/
format: string;
/**
* Specifies the label options.
*/
options: any;
/**
* Specifies the rectangle that defines the normal position of the visual.
*/
rect: geometry.Rect;
/**
* Specifies the instance of the Chart component.
*/
sender: ChartComponent;
/**
* Specifies the text of the label.
*/
text: string;
/**
* Specifies the value of the label.
*/
value: any;
}