cione-comp-lib
Version:
`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`
20 lines (19 loc) • 686 B
JavaScript
import { __extends } from "../../../../tslib/tslib.es6.mjs";
import Axis from "../../coord/Axis.mjs";
var TimelineAxis = function(_super) {
__extends(TimelineAxis2, _super);
function TimelineAxis2(dim, scale, coordExtent, axisType) {
var _this = _super.call(this, dim, scale, coordExtent) || this;
_this.type = axisType || "value";
return _this;
}
TimelineAxis2.prototype.getLabelModel = function() {
return this.model.getModel("label");
};
TimelineAxis2.prototype.isHorizontal = function() {
return this.model.get("orient") === "horizontal";
};
return TimelineAxis2;
}(Axis);
var TimelineAxis$1 = TimelineAxis;
export { TimelineAxis$1 as default };