UNPKG

igniteui-angular-charts

Version:

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

88 lines (87 loc) 2.25 kB
import { IgxSeriesComponent } from "./igx-series-component"; import { CalloutSeriesSelectingEventArgs as CalloutSeriesSelectingEventArgs_internal } from "./CalloutSeriesSelectingEventArgs"; /** * Represents event arguments for selecting callout layer */ export class IgxCalloutSeriesSelectingEventArgs { constructor() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } createImplementation() { return new CalloutSeriesSelectingEventArgs_internal(); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } /** * Gets data X-value associated with callout layer */ get xValue() { return this.i.c; } set xValue(v) { this.i.c = v; } /** * Gets data Y-value associated with callout layer */ get yValue() { return this.i.d; } set yValue(v) { this.i.d = v; } /** * Gets data item associated with callout layer */ get item() { return this.i.item; } set item(v) { this.i.item = v; } /** * Gets or sets series object associated with callout layer */ get series() { const r = this.i.a; if (r == null) { return null; } if (!r.externalObject) { let e = IgxSeriesComponent._createFromInternal(r); if (e) { e._implementation = r; } r.externalObject = e; } return r.externalObject; } set series(v) { v == null ? this.i.a = null : this.i.a = v.i; } /** * Gets or sets series name associated with callout layer */ get seriesName() { return this.i.e; } set seriesName(v) { this.i.e = v; } }