igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
39 lines (38 loc) • 1.35 kB
JavaScript
import { __extends } from "tslib";
import { IgrHorizontalAnchoredCategorySeries } from "./igr-horizontal-anchored-category-series";
import { toPoint, fromPoint } from "igniteui-react-core";
/**
* Represents one part of a stacked series.
*/
var IgrFragmentBase = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrFragmentBase, _super);
function IgrFragmentBase(props) {
return _super.call(this, props) || this;
}
Object.defineProperty(IgrFragmentBase.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrFragmentBase.prototype, "isFragment", {
/**
* Gets whether the current series is a stack fragment.
*/
get: function () {
return this.i.isFragment;
},
enumerable: false,
configurable: true
});
IgrFragmentBase.prototype.getSeriesValuePosition = function (world, useInterpolation, skipUnknowns) {
var iv = this.i.wx(toPoint(world), useInterpolation, skipUnknowns);
return fromPoint(iv);
};
return IgrFragmentBase;
}(IgrHorizontalAnchoredCategorySeries));
export { IgrFragmentBase };