feat(视图): 新增分组柱状图

This commit is contained in:
junjun
2022-08-22 20:18:45 +08:00
parent eb7242204a
commit 31d0deee7c
3 changed files with 73 additions and 5 deletions

View File

@@ -192,6 +192,8 @@ export default {
}
if (chart.type === 'bar') {
this.myChart = baseBarOptionAntV(this.myChart, this.chartId, chart, this.antVAction, true, false)
} else if (chart.type === 'bar-group') {
this.myChart = baseBarOptionAntV(this.myChart, this.chartId, chart, this.antVAction, true, false)
} else if (chart.type === 'bar-stack') {
this.myChart = baseBarOptionAntV(this.myChart, this.chartId, chart, this.antVAction, false, true)
} else if (chart.type === 'bar-horizontal') {