UNPKG

igniteui-react-charts

Version:

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

118 lines (117 loc) 3.47 kB
import { IgrAxis } from "./igr-axis"; import { fromPoint, toPoint } from "igniteui-react-core"; var IgrAxisMouseEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrAxisMouseEventArgs() { this.mounted = false; } Object.defineProperty(IgrAxisMouseEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrAxisMouseEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrAxisMouseEventArgs.prototype.onImplementationCreated = function () { }; IgrAxisMouseEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrAxisMouseEventArgs.prototype, "axis", { get: function () { var r = this.i.a; if (r == null) { return null; } if (!r.externalObject) { var e = IgrAxis._createFromInternal(r); if (e) { e._implementation = r; } r.externalObject = e; } return r.externalObject; }, set: function (v) { v == null ? this.i.a = null : this.i.a = v.i; }, enumerable: false, configurable: true }); Object.defineProperty(IgrAxisMouseEventArgs.prototype, "axisValue", { get: function () { return this.i.c; }, set: function (v) { this.i.c = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrAxisMouseEventArgs.prototype, "axisDateValue", { get: function () { return this.i.b; }, set: function (v) { this.i.b = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrAxisMouseEventArgs.prototype, "mouseCoords", { get: function () { return fromPoint(this.i.f); }, set: function (v) { this.i.f = toPoint(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgrAxisMouseEventArgs.prototype, "worldCoords", { get: function () { return fromPoint(this.i.g); }, set: function (v) { this.i.g = toPoint(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgrAxisMouseEventArgs.prototype, "label", { get: function () { return this.i.e; }, set: function (v) { this.i.e = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrAxisMouseEventArgs.prototype, "labelContext", { get: function () { return this.i.d; }, set: function (v) { this.i.d = v; }, enumerable: false, configurable: true }); return IgrAxisMouseEventArgs; }()); export { IgrAxisMouseEventArgs };