柱状堆叠图更新

qianming 4 years ago
parent 57fcffd6c6
commit 34ef61af94

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

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

Loading…
Cancel
Save