cione-comp-lib
Version:
`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`
59 lines (58 loc) • 1.45 kB
JavaScript
import { __extends } from "../../../../tslib/tslib.es6.mjs";
import ComponentModel from "../../model/Component.mjs";
import { AxisModelCommonMixin } from "../axisModelCommonMixin.mjs";
import { mixin } from "../../../../zrender/lib/core/util.mjs";
var SingleAxisModel = function(_super) {
__extends(SingleAxisModel2, _super);
function SingleAxisModel2() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.type = SingleAxisModel2.type;
return _this;
}
SingleAxisModel2.prototype.getCoordSysModel = function() {
return this;
};
SingleAxisModel2.type = "singleAxis";
SingleAxisModel2.layoutMode = "box";
SingleAxisModel2.defaultOption = {
left: "5%",
top: "5%",
right: "5%",
bottom: "5%",
type: "value",
position: "bottom",
orient: "horizontal",
axisLine: {
show: true,
lineStyle: {
width: 1,
type: "solid"
}
},
tooltip: {
show: true
},
axisTick: {
show: true,
length: 6,
lineStyle: {
width: 1
}
},
axisLabel: {
show: true,
interval: "auto"
},
splitLine: {
show: true,
lineStyle: {
type: "dashed",
opacity: 0.2
}
}
};
return SingleAxisModel2;
}(ComponentModel);
mixin(SingleAxisModel, AxisModelCommonMixin.prototype);
var SingleAxisModel$1 = SingleAxisModel;
export { SingleAxisModel$1 as default };