فهرست منبع

柱状堆叠图更新

qianming 4 سال پیش
والد
کامیت
34ef61af94

+ 2 - 10
report-ui/src/views/report/bigscreen/designer/tools.js

@@ -5717,14 +5717,6 @@ const widgetTools = [
                 placeholder: '',
                 value: 5,
               },
-              {
-                type: 'el-slider',
-                label: '最小高度',
-                name: 'minHeight',
-                require: false,
-                placeholder: '',
-                value: 0,
-              },
             ],
           },
           {
@@ -6185,7 +6177,7 @@ const widgetTools = [
               },
             ],
           },
-          {
+          /*{
             name: '自定义配色',
             list: [
               {
@@ -6196,7 +6188,7 @@ const widgetTools = [
                 value: [{color: '#ff7f50'}, {color: '#87cefa'}, {color: '#da70d6'}, {color: '#32cd32'}, {color: '#6495ed'}],
               },
             ],
-          },
+          },*/
         ],
       ],
       // 数据

+ 3 - 2
report-ui/src/views/report/bigscreen/designer/widget/bar/widgetBarStackChart.vue

@@ -211,6 +211,7 @@ export default {
             fontWeight: optionsCollapse.fontWeight
           };
           series[key].barWidth = optionsCollapse.maxWidth;
+          console.log(series[key].barWidth)
           series[key].barMinHeight = optionsCollapse.minHeight;
         }
       }
@@ -330,9 +331,9 @@ export default {
           type: "bar",
           data: data ,
           barGap: "0%",
-          itemStyle: {
+          /*itemStyle: {
             borderRadius: null
-          }
+          }*/
         })
       }
       this.options.series = series