UNPKG

igniteui-angular-charts

Version:

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

79 lines (78 loc) 1.81 kB
import { IgxAxisComponent } from "./igx-axis-component"; import { fromPoint, toPoint } from "igniteui-angular-core"; export class IgxAxisMouseEventArgs { constructor() { } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } get axis() { const r = this.i.a; if (r == null) { return null; } if (!r.externalObject) { let e = IgxAxisComponent._createFromInternal(r); if (e) { e._implementation = r; } r.externalObject = e; } return r.externalObject; } set axis(v) { v == null ? this.i.a = null : this.i.a = v.i; } get axisValue() { return this.i.c; } set axisValue(v) { this.i.c = +v; } get axisDateValue() { return this.i.b; } set axisDateValue(v) { this.i.b = v; } get chartPosition() { return fromPoint(this.i.f); } set chartPosition(v) { this.i.f = toPoint(v); } get plotAreaPosition() { return fromPoint(this.i.g); } set plotAreaPosition(v) { this.i.g = toPoint(v); } get worldPosition() { return fromPoint(this.i.h); } set worldPosition(v) { this.i.h = toPoint(v); } get label() { return this.i.e; } set label(v) { this.i.e = v; } get labelContext() { return this.i.d; } set labelContext(v) { this.i.d = v; } }