UNPKG

igniteui-angular-charts

Version:

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

42 lines (41 loc) 1.04 kB
import { IgxSeriesComponent } from "./igx-series-component"; /** * Represents event arguments for chart's SeriesAdded and SeriesRemoved events */ export class IgxChartSeriesEventArgs { constructor() { } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } /** * Gets the series. */ get series() { const r = this.i.series; 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.series = null : this.i.series = v.i; } }