UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

51 lines (50 loc) 1.8 kB
import { fromPoint, toPoint } from "igniteui-angular-core"; /** * Represents event arguments for chart's SeriesAdded and SeriesRemoved events */ var IgxDomainChartPlotAreaPointerEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgxDomainChartPlotAreaPointerEventArgs() { } Object.defineProperty(IgxDomainChartPlotAreaPointerEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgxDomainChartPlotAreaPointerEventArgs.prototype.onImplementationCreated = function () { }; IgxDomainChartPlotAreaPointerEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); }; Object.defineProperty(IgxDomainChartPlotAreaPointerEventArgs.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(IgxDomainChartPlotAreaPointerEventArgs.prototype, "chartPosition", { /** * Gets the mouse position relative to the chart. */ get: function () { return fromPoint(this.i.chartPosition); }, enumerable: false, configurable: true }); return IgxDomainChartPlotAreaPointerEventArgs; }()); export { IgxDomainChartPlotAreaPointerEventArgs };