igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
37 lines (36 loc) • 946 B
JavaScript
import { fromPoint, toPoint } from "igniteui-angular-core";
/**
* Represents event arguments for chart's SeriesAdded and SeriesRemoved events
*/
export class IgxDomainChartPlotAreaPointerEventArgs {
constructor() {
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
onImplementationCreated() {
}
_provideImplementation(i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
}
/**
* Gets the pointer position relative to the plot area.
*/
get plotAreaPosition() {
return fromPoint(this.i.plotAreaPosition);
}
set plotAreaPosition(v) {
this.i.plotAreaPosition = toPoint(v);
}
/**
* Gets the mouse position relative to the chart.
*/
get chartPosition() {
return fromPoint(this.i.chartPosition);
}
}