@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.
43 lines (42 loc) • 1.33 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { BaseEvent } from './base-event';
/**
* Represents the arguments for the `axisLabelClick` event of the Chart component ([see example](slug:events_chart)).
*/
export class AxisLabelClickEvent extends BaseEvent {
/**
* Specifies the axis options to which the label belongs.
*/
axis;
/**
* Specifies the original data item that generates the label.
* Available only for category axes that use the `categoryField` of the series.
*/
dataItem;
/**
* Specifies the sequential or category index of the label.
*/
index;
/**
* Specifies the text of the label.
*/
text;
/**
* Specifies the value or category name of the label.
*/
value;
/**
* @hidden
*/
constructor(e, sender) {
super(sender);
this.axis = e.axis;
this.dataItem = e.dataItem;
this.index = e.index;
this.text = e.text;
this.value = e.value;
}
}