igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
48 lines (47 loc) • 1.68 kB
JavaScript
import { PieSliceOthersContext as PieSliceOthersContext_internal } from "./PieSliceOthersContext";
/**
* Represents the selected data contained inside the Others slice.
*/
var IgxPieSliceOthersContext = /** @class */ /*@__PURE__*/ (function () {
function IgxPieSliceOthersContext() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxPieSliceOthersContext.prototype.createImplementation = function () {
return new PieSliceOthersContext_internal();
};
Object.defineProperty(IgxPieSliceOthersContext.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxPieSliceOthersContext.prototype.onImplementationCreated = function () {
};
IgxPieSliceOthersContext.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
/**
* The underlying data contained by the Others pie slice.
*/
IgxPieSliceOthersContext.prototype.findByName = function (name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
};
return IgxPieSliceOthersContext;
}());
export { IgxPieSliceOthersContext };