@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.
44 lines (43 loc) • 1.42 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 `plotAreaClick` event of the Chart component ([see example](slug:events_chart)).
*/
export class PlotAreaClickEvent extends BaseEvent {
/**
* Specifies the data point category.
* Available only for Categorical charts such as Bar, Line, and Area.
*/
category;
/**
* Specifies the original browser event that triggered the click action.
*/
originalEvent;
/**
* Specifies the data point value.
* Available only for Categorical charts such as Bar, Line, and Area.
*/
value;
/**
* Specifies the X axis value or array of values for multi-axis charts.
*/
x;
/**
* Specifies the Y axis value or array of values for multi-axis charts.
*/
y;
/**
* @hidden
*/
constructor(e, sender) {
super(sender);
this.category = e.category;
this.originalEvent = e.originalEvent;
this.value = e.value;
this.x = e.x;
this.y = e.y;
}
}