igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
54 lines (53 loc) • 1.85 kB
JavaScript
import { fromPoint, toPoint } from "igniteui-webcomponents-core";
/**
* Represents event arguments for chart's SeriesAdded and SeriesRemoved events
*/
var IgcDomainChartPlotAreaPointerEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgcDomainChartPlotAreaPointerEventArgs() {
}
Object.defineProperty(IgcDomainChartPlotAreaPointerEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcDomainChartPlotAreaPointerEventArgs.prototype.onImplementationCreated = function () {
};
IgcDomainChartPlotAreaPointerEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcDomainChartPlotAreaPointerEventArgs.prototype, "plotAreaPosition", {
/**
* Gets the pointer position relative to the plot area.
*/
get: function () {
return fromPoint(this.i.plotAreaPosition);
},
set: function (v) {
this.i.plotAreaPosition = toPoint(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcDomainChartPlotAreaPointerEventArgs.prototype, "chartPosition", {
/**
* Gets the mouse position relative to the chart.
*/
get: function () {
return fromPoint(this.i.chartPosition);
},
enumerable: false,
configurable: true
});
return IgcDomainChartPlotAreaPointerEventArgs;
}());
export { IgcDomainChartPlotAreaPointerEventArgs };