igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
55 lines (54 loc) • 1.7 kB
JavaScript
import { IgcSeriesComponent } from "./igc-series-component";
/**
* Represents event arguments for chart's SeriesAdded and SeriesRemoved events
*/
var IgcChartSeriesEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgcChartSeriesEventArgs() {
}
Object.defineProperty(IgcChartSeriesEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcChartSeriesEventArgs.prototype.onImplementationCreated = function () {
};
IgcChartSeriesEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcChartSeriesEventArgs.prototype, "series", {
/**
* Gets the series.
*/
get: function () {
var r = this.i.series;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = IgcSeriesComponent._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 IgcChartSeriesEventArgs;
}());
export { IgcChartSeriesEventArgs };