12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- import { __extends } from "tslib";
- import Axis from '../../coord/Axis.js';
- var TimelineAxis =
- function (_super) {
- __extends(TimelineAxis, _super);
- function TimelineAxis(dim, scale, coordExtent, axisType) {
- var _this = _super.call(this, dim, scale, coordExtent) || this;
- _this.type = axisType || 'value';
- return _this;
- }
-
- TimelineAxis.prototype.getLabelModel = function () {
-
- return this.model.getModel('label');
- };
-
- TimelineAxis.prototype.isHorizontal = function () {
- return this.model.get('orient') === 'horizontal';
- };
- return TimelineAxis;
- }(Axis);
- export default TimelineAxis;
|