UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

49 lines (48 loc) 2.1 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { __extends } from "tslib"; import { Base, Point_$type, markType } from "igniteui-react-core"; import { isNaN_ } from "igniteui-react-core"; /** * @hidden */ var DomainChartPlotAreaPointerEventArgs = /** @class */ /*@__PURE__*/ (function (_super) { __extends(DomainChartPlotAreaPointerEventArgs, _super); function DomainChartPlotAreaPointerEventArgs(a, b) { var _this = _super.call(this) || this; _this.b = { $type: Point_$type, x: NaN, y: NaN }; _this._plotAreaPosition = null; _this.a = null; _this.a = a; _this.plotAreaPosition = b; return _this; } Object.defineProperty(DomainChartPlotAreaPointerEventArgs.prototype, "plotAreaPosition", { get: function () { return this._plotAreaPosition; }, set: function (a) { this._plotAreaPosition = a; }, enumerable: false, configurable: true }); Object.defineProperty(DomainChartPlotAreaPointerEventArgs.prototype, "chartPosition", { get: function () { if (isNaN_(this.b.x) && isNaN_(this.b.y)) { this.b.x = this.plotAreaPosition.x - this.a.x5.left; this.b.y = this.plotAreaPosition.y - this.a.x5.top; } return this.b; }, enumerable: false, configurable: true }); DomainChartPlotAreaPointerEventArgs.$t = markType(DomainChartPlotAreaPointerEventArgs, 'DomainChartPlotAreaPointerEventArgs'); return DomainChartPlotAreaPointerEventArgs; }(Base)); export { DomainChartPlotAreaPointerEventArgs };