柱状堆叠图更新

qianming 3 years ago
parent 57fcffd6c6
commit 34ef61af94

@ -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'}],
},
],
},
},*/
],
],
// 数据

@ -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

Loading…
Cancel
Save