igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
41 lines (40 loc) • 936 B
JavaScript
import { fromPoint } from "igniteui-react-core";
/**
* EventArgs class holding information about the dimensions of a hole in a doughnut chart.
*/
export class IgrHoleDimensionsChangedEventArgs {
get nativeElement() {
return this._implementation.nativeElement;
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
onImplementationCreated() {
}
constructor() {
this.mounted = false;
}
_provideImplementation(i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
/**
* The center point of the hole.
*/
get center() {
return fromPoint(this.i.center);
}
/**
* The radius of the hole.
*/
get radius() {
return this.i.radius;
}
}