1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- 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;
|