@easyv/config
Advanced tools
Comparing version 1.2.15 to 1.2.16
@@ -48,2 +48,3 @@ "use strict"; | ||
position = _ref.position, | ||
reverse = _ref.reverse, | ||
_ref$translate = _ref.translate; | ||
@@ -98,2 +99,9 @@ _ref$translate = _ref$translate === void 0 ? defaultLabel.translate : _ref$translate; | ||
} | ||
}, reverse !== undefined && { | ||
rule: [["position", "$neq", "middle"], ["position", "$neq", "chartStart"]], | ||
name: "reverse", | ||
displayName: "负值反向", | ||
type: "boolean", | ||
value: reverse, | ||
tip: "开启后负值的标签会与正值对称显示" | ||
}, _objectSpread({ | ||
@@ -100,0 +108,0 @@ _rule: [["show", "$eq", true]] |
{ | ||
"name": "@easyv/config", | ||
"version": "1.2.15", | ||
"version": "1.2.16", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,2 +31,3 @@ import { translate, font, extent, showRule, sc, textOverflow } from "."; | ||
position, | ||
reverse, | ||
translate: { x, y } = defaultLabel.translate, | ||
@@ -73,2 +74,10 @@ } = defaultLabel) => ({ | ||
}, | ||
reverse !== undefined && { | ||
rule:[["position","$neq","middle"],["position","$neq","chartStart"]], | ||
name:"reverse", | ||
displayName:"负值反向", | ||
type:"boolean", | ||
value:reverse, | ||
tip:"开启后负值的标签会与正值对称显示" | ||
}, | ||
{ | ||
@@ -75,0 +84,0 @@ _rule: [["show", "$eq", true]], |
407490
13664