@easyv/config
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -133,2 +133,3 @@ "use strict"; | ||
on = _ref2$on === void 0 ? defaultValueAxis.on : _ref2$on, | ||
reverse = _ref2.reverse, | ||
_ref2$openClipAxis = _ref2.openClipAxis, | ||
@@ -154,3 +155,3 @@ openClipAxis = _ref2$openClipAxis === void 0 ? false : _ref2$openClipAxis, | ||
type: 'boolean' | ||
}, openClip != undefined && (0, _.sc)("openClip", "开启断轴", "boolean", false), clipAxis != undefined && (0, _.sc)("clipAxis", "轴段区间", "array", [(0, _.sc)("range1", "区间", "object", [(0, _.sc)("value", "区间值", "number", 50), (0, _.sc)("offset", "高度占比", "range", 25)]), (0, _.sc)("range2", "区间", "object", [(0, _.sc)("value", "区间值", "number", 100), (0, _.sc)("offset", "高度占比", "range", 50)]), (0, _.sc)("range3", "区间", "object", [(0, _.sc)("value", "区间值", "number", 1000), (0, _.sc)("offset", "高度占比", "range", 75)])], { | ||
}, reverse != undefined && (0, _.sc)("reverse", "反转", "boolean", reverse), openClip != undefined && (0, _.sc)("openClip", "开启断轴", "boolean", false), clipAxis != undefined && (0, _.sc)("clipAxis", "轴段区间", "array", [(0, _.sc)("range1", "区间", "object", [(0, _.sc)("value", "区间值", "number", 50), (0, _.sc)("offset", "高度占比", "range", 25)]), (0, _.sc)("range2", "区间", "object", [(0, _.sc)("value", "区间值", "number", 100), (0, _.sc)("offset", "高度占比", "range", 50)]), (0, _.sc)("range3", "区间", "object", [(0, _.sc)("value", "区间值", "number", 1000), (0, _.sc)("offset", "高度占比", "range", 75)])], { | ||
template: (0, _.sc)("range", "区间", "object", [(0, _.sc)("value", "区间值", "number", 0), (0, _.sc)("offset", "高度占比", "range", 0)]), | ||
@@ -157,0 +158,0 @@ other: { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -390,2 +390,3 @@ "use strict"; | ||
autoSort: false, | ||
textAlign: "center", | ||
translate: { | ||
@@ -425,2 +426,4 @@ x: 0, | ||
autoSort = _ref4$autoSort === void 0 ? defaultAxisLabel.autoSort : _ref4$autoSort, | ||
_ref4$textAlign = _ref4.textAlign, | ||
textAlign = _ref4$textAlign === void 0 ? defaultAxisLabel.textAlign : _ref4$textAlign, | ||
_ref4$translate = _ref4.translate; | ||
@@ -649,3 +652,18 @@ _ref4$translate = _ref4$translate === void 0 ? defaultAxisLabel.translate : _ref4$translate; | ||
} | ||
}, (0, _.showRule)()), _objectSpread({ | ||
}, (0, _.showRule)()), (0, _.sc)("textAlign", "对齐", "radio", textAlign, { | ||
mode: "icon", | ||
options: [{ | ||
name: "左对齐", | ||
value: "left", | ||
icon: "align-left" | ||
}, { | ||
name: "居中对齐", | ||
value: "center", | ||
icon: "align-center" | ||
}, { | ||
name: "右对齐", | ||
value: "right", | ||
icon: "align-right" | ||
}] | ||
}, (0, _.showRule)("show", "$eq", true)), _objectSpread({ | ||
rule: [["show", "$eq", true]] | ||
@@ -652,0 +670,0 @@ }, (0, _.translate)(labelTranslateX, labelTranslateY)), { |
{ | ||
"name": "@easyv/config", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -99,2 +99,3 @@ import { gridLine, tickLine, axisLine, unit, font, sc } from '.'; | ||
on = defaultValueAxis.on, | ||
reverse, | ||
openClipAxis = false,//断轴柱状图开启断轴 shuihan | ||
@@ -116,2 +117,3 @@ clipValueAxis, | ||
}, | ||
reverse!=undefined && sc("reverse","反转","boolean",reverse), | ||
openClip!=undefined && sc("openClip","开启断轴","boolean",false), | ||
@@ -118,0 +120,0 @@ clipAxis!=undefined && sc("clipAxis","轴段区间","array",[ |
@@ -0,0 +0,0 @@ /** |
@@ -365,2 +365,3 @@ import { translate, font, extent, showRule, sc, textOverflow } from "."; | ||
autoSort: false, | ||
textAlign: "center", | ||
translate: { x: 0, y: 0 }, | ||
@@ -384,2 +385,3 @@ font: font({ color: "rgba(230, 247, 255, 1)" }), | ||
autoSort = defaultAxisLabel.autoSort, | ||
textAlign = defaultAxisLabel.textAlign, | ||
translate: { | ||
@@ -654,2 +656,10 @@ x: labelTranslateX = defaultAxisLabel.translate.x, | ||
},showRule()), | ||
sc("textAlign","对齐","radio",textAlign,{ | ||
mode:"icon", | ||
options:[ | ||
{name:"左对齐",value:"left",icon:"align-left"}, | ||
{name:"居中对齐",value:"center",icon:"align-center"}, | ||
{name:"右对齐",value:"right",icon:"align-right"} | ||
] | ||
},showRule("show","$eq",true)), | ||
{ | ||
@@ -656,0 +666,0 @@ rule: [["show", "$eq", true]], |
728681
13251