igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
59 lines (58 loc) • 2.12 kB
JavaScript
import { DomainChartTestingInfo as DomainChartTestingInfo_internal } from "./DomainChartTestingInfo";
var IgxDomainChartTestingInfo = /** @class */ /*@__PURE__*/ (function () {
function IgxDomainChartTestingInfo() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxDomainChartTestingInfo.prototype.createImplementation = function () {
return new DomainChartTestingInfo_internal();
};
Object.defineProperty(IgxDomainChartTestingInfo.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxDomainChartTestingInfo.prototype.onImplementationCreated = function () {
};
IgxDomainChartTestingInfo.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxDomainChartTestingInfo.prototype, "mainDataChart", {
get: function () {
var r = this.i.a;
if (r == null) {
return null;
}
return r.externalObject;
},
set: function (v) {
v == null ? this.i.a = null : this.i.a = v.i;
},
enumerable: false,
configurable: true
});
IgxDomainChartTestingInfo.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
if (this.mainDataChart && this.mainDataChart.name && this.mainDataChart.name == name) {
return this.mainDataChart;
}
return null;
};
return IgxDomainChartTestingInfo;
}());
export { IgxDomainChartTestingInfo };