在饼图组件页面中,更改label的padding,左右已经更改为0,如若还是展示不全,可换成实心饼图或者把组件宽度改大一些
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -132,7 +132,7 @@ export default { | @@ -132,7 +132,7 @@ export default { | ||
132 | formatter: `{a|{b}:${numberValue} ${percentage}}`, | 132 | formatter: `{a|{b}:${numberValue} ${percentage}}`, |
133 | rich: { | 133 | rich: { |
134 | a: { | 134 | a: { |
135 | - padding: [-30, 15, -20, 15], | 135 | + padding: [-30, 0, -20, 0], |
136 | color: optionsSetup.subTextColor, | 136 | color: optionsSetup.subTextColor, |
137 | fontSize: optionsSetup.fontSize, | 137 | fontSize: optionsSetup.fontSize, |
138 | fontWeight: optionsSetup.fontWeight | 138 | fontWeight: optionsSetup.fontWeight |
-
Please register or login to post a comment