igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
48 lines (47 loc) • 1.51 kB
JavaScript
import { __extends } from "tslib";
import { IgrSplineFragmentBase } from "./igr-spline-fragment-base";
import { SplineFragment } from "./SplineFragment";
/**
* Represents one part of a StackedSplineSeries.
*/
var IgrSplineFragment = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrSplineFragment, _super);
function IgrSplineFragment(props) {
return _super.call(this, props) || this;
}
IgrSplineFragment.prototype.createImplementation = function () {
return new SplineFragment();
};
Object.defineProperty(IgrSplineFragment.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSplineFragment.prototype, "isSpline", {
/**
* Gets whether the current series shows a spline shape.
*/
get: function () {
return this.i.f1;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrSplineFragment.prototype, "isAreaOrLine", {
/**
* Gets whether the current series shows an area or line shape.
*/
get: function () {
return this.i.ex;
},
enumerable: false,
configurable: true
});
return IgrSplineFragment;
}(IgrSplineFragmentBase));
export { IgrSplineFragment };