import * as tslib_1 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) {
    tslib_1.__extends(IgrFragmentBase, _super);
    function IgrFragmentBase(props) {
        return _super.call(this, props) || this;
    }
    Object.defineProperty(IgrFragmentBase.prototype, "i", {
        /**
                                     * @hidden
                                     */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgrFragmentBase.prototype, "isFragment", {
        /**
         * Gets whether the current series is a stack fragment.
        */
        get: function () {
            return this.i.c7;
        },
        enumerable: true,
        configurable: true
    });
    IgrFragmentBase.prototype.getSeriesValuePosition = function (world, useInterpolation, skipUnknowns) {
        var iv = this.i.nt(toPoint(world), useInterpolation, skipUnknowns);
        return fromPoint(iv);
    };
    return IgrFragmentBase;
}(IgrHorizontalAnchoredCategorySeries));
export { IgrFragmentBase };
//# sourceMappingURL=igr-fragment-base.js.map
