UNPKG

igniteui-angular-charts

Version:

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

52 lines (51 loc) 1.66 kB
import { IgxSeriesComponent } from "./igx-series-component"; /** * Represents event arguments for chart's SeriesAdded and SeriesRemoved events */ var IgxChartSeriesEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgxChartSeriesEventArgs() { } Object.defineProperty(IgxChartSeriesEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgxChartSeriesEventArgs.prototype.onImplementationCreated = function () { }; IgxChartSeriesEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); }; Object.defineProperty(IgxChartSeriesEventArgs.prototype, "series", { /** * Gets the series. */ get: function () { var r = this.i.series; if (r == null) { return null; } if (!r.externalObject) { var e = IgxSeriesComponent._createFromInternal(r); if (e) { e._implementation = r; } r.externalObject = e; } return r.externalObject; }, set: function (v) { v == null ? this.i.series = null : this.i.series = v.i; }, enumerable: false, configurable: true }); return IgxChartSeriesEventArgs; }()); export { IgxChartSeriesEventArgs };