import { IgrHorizontalAnchoredCategorySeries } from "./igr-horizontal-anchored-category-series";
import { toPoint, fromPoint } from "igniteui-react-core";
/**
 * Represents one part of a stacked series.
*/
export class IgrFragmentBase extends IgrHorizontalAnchoredCategorySeries {
    /**
                                 * @hidden
                                 */
    get i() {
        return this._implementation;
    }
    constructor(props) {
        super(props);
    }
    /**
     * Gets whether the current series is a stack fragment.
    */
    get isFragment() {
        return this.i.fb;
    }
    getSeriesValuePosition(world, useInterpolation, skipUnknowns) {
        let iv = this.i.wa(toPoint(world), useInterpolation, skipUnknowns);
        return fromPoint(iv);
    }
}
