12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- import { __extends } from "tslib";
- import Axis from '../Axis.js';
- var ParallelAxis =
- function (_super) {
- __extends(ParallelAxis, _super);
- function ParallelAxis(dim, scale, coordExtent, axisType, axisIndex) {
- var _this = _super.call(this, dim, scale, coordExtent) || this;
- _this.type = axisType || 'value';
- _this.axisIndex = axisIndex;
- return _this;
- }
- ParallelAxis.prototype.isHorizontal = function () {
- return this.coordinateSystem.getModel().get('layout') !== 'horizontal';
- };
- return ParallelAxis;
- }(Axis);
- export default ParallelAxis;
|