UNPKG

igniteui-webcomponents-charts

Version:

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

120 lines (119 loc) 3.54 kB
import { IgcAxisComponent } from "./igc-axis-component"; import { fromPoint, toPoint } from "igniteui-webcomponents-core"; var IgcAxisMouseEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgcAxisMouseEventArgs() { } Object.defineProperty(IgcAxisMouseEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcAxisMouseEventArgs.prototype.onImplementationCreated = function () { }; IgcAxisMouseEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcAxisMouseEventArgs.prototype, "axis", { get: function () { var r = this.i.a; if (r == null) { return null; } if (!r.externalObject) { var e = IgcAxisComponent._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(IgcAxisMouseEventArgs.prototype, "axisValue", { get: function () { return this.i.c; }, set: function (v) { this.i.c = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcAxisMouseEventArgs.prototype, "axisDateValue", { get: function () { return this.i.b; }, set: function (v) { this.i.b = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcAxisMouseEventArgs.prototype, "chartPosition", { get: function () { return fromPoint(this.i.f); }, set: function (v) { this.i.f = toPoint(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgcAxisMouseEventArgs.prototype, "plotAreaPosition", { get: function () { return fromPoint(this.i.g); }, set: function (v) { this.i.g = toPoint(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgcAxisMouseEventArgs.prototype, "worldPosition", { get: function () { return fromPoint(this.i.h); }, set: function (v) { this.i.h = toPoint(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgcAxisMouseEventArgs.prototype, "label", { get: function () { return this.i.e; }, set: function (v) { this.i.e = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcAxisMouseEventArgs.prototype, "labelContext", { get: function () { return this.i.d; }, set: function (v) { this.i.d = v; }, enumerable: false, configurable: true }); return IgcAxisMouseEventArgs; }()); export { IgcAxisMouseEventArgs };