Browse Source

Merge branch 'bug5393'

Karsa 3 months ago
parent
commit
90d8a9d8b6
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/views/ppt_manage/mixins/pptMixins.js

+ 1 - 2
src/views/ppt_manage/mixins/pptMixins.js

@@ -786,11 +786,10 @@ export default {
           chart: {
             ...defaultOpts.chart,
 					  ...chartTheme&&chartTheme.drawOption,
-            spacing: chartTheme.legendOptions.verticalAlign==='bottom' ? [23,10,2,10] : [2,10,2,10],//图例在底部顶部空间留大点给单位
+            spacing: chartTheme.legendOptions.verticalAlign==='bottom' ? [25,10,2,10] : [2,10,2,10],//图例在底部顶部空间留大点给单位
             animation: false,
             backgroundColor: "rgba(0,0,0,0)",
             renderTo:$(`#${refName}`)[0],
-            ...options.chart||{},
           },
           legend: {
             ...defaultOpts.legend,