update 柱状图宽度更新
This commit is contained in:
@@ -121,11 +121,13 @@ const changeModel = async () => {
|
||||
chartOption.value.series.forEach((item: any) => {
|
||||
delete item.stack;
|
||||
item.label.show = false;
|
||||
item.barMaxWidth = '20px';
|
||||
});
|
||||
isStack.value = false;
|
||||
} else {
|
||||
chartOption.value.series.forEach((item: any) => {
|
||||
item.stack = 'total';
|
||||
item.barMaxWidth = '40px';
|
||||
item.label = {
|
||||
show: true,
|
||||
formatter: (params: any) => {
|
||||
|
||||
Reference in New Issue
Block a user