import * as tslib_1 from "tslib";
import { IgrFragmentBase } from "./igr-fragment-base";
import { LineFragment } from "./LineFragment";
/**
 * Represents one part of a StackedLineSeries.
*/
var IgrLineFragment = /** @class */ (function (_super) {
    tslib_1.__extends(IgrLineFragment, _super);
    function IgrLineFragment(props) {
        return _super.call(this, props) || this;
    }
    IgrLineFragment.prototype.createImplementation = function () {
        return new LineFragment();
    };
    Object.defineProperty(IgrLineFragment.prototype, "i", {
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgrLineFragment.prototype, "isAreaOrLine", {
        /**
         * Gets whether the current series shows an area or line shape.
        */
        get: function () {
            return this.i.ck;
        },
        enumerable: true,
        configurable: true
    });
    return IgrLineFragment;
}(IgrFragmentBase));
export { IgrLineFragment };
