cione-comp-lib
Version:
`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`
18 lines (17 loc) • 642 B
JavaScript
import { __extends } from "../../../../tslib/tslib.es6.mjs";
import Axis from "../Axis.mjs";
var ParallelAxis = function(_super) {
__extends(ParallelAxis2, _super);
function ParallelAxis2(dim, scale, coordExtent, axisType, axisIndex) {
var _this = _super.call(this, dim, scale, coordExtent) || this;
_this.type = axisType || "value";
_this.axisIndex = axisIndex;
return _this;
}
ParallelAxis2.prototype.isHorizontal = function() {
return this.coordinateSystem.getModel().get("layout") !== "horizontal";
};
return ParallelAxis2;
}(Axis);
var ParallelAxis$1 = ParallelAxis;
export { ParallelAxis$1 as default };