igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
51 lines (50 loc) • 1.63 kB
JavaScript
import { fromPoint } from "igniteui-webcomponents-core";
/**
* EventArgs class holding information about the dimensions of a hole in a doughnut chart.
*/
var IgcHoleDimensionsChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgcHoleDimensionsChangedEventArgs() {
}
Object.defineProperty(IgcHoleDimensionsChangedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcHoleDimensionsChangedEventArgs.prototype.onImplementationCreated = function () {
};
IgcHoleDimensionsChangedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcHoleDimensionsChangedEventArgs.prototype, "center", {
/**
* The center point of the hole.
*/
get: function () {
return fromPoint(this.i.center);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcHoleDimensionsChangedEventArgs.prototype, "radius", {
/**
* The radius of the hole.
*/
get: function () {
return this.i.radius;
},
enumerable: false,
configurable: true
});
return IgcHoleDimensionsChangedEventArgs;
}());
export { IgcHoleDimensionsChangedEventArgs };