NEZ-2768 feat:新增圆环图 图表类型

This commit is contained in:
zyh
2023-04-18 10:12:47 +08:00
parent 3db6415686
commit 57469d2bcf
23 changed files with 918 additions and 2227 deletions

View File

@@ -890,6 +890,10 @@ export default {
id: 'pie',
name: this.$t('dashboard.dashboard.chartForm.typeVal.pie.label')
},
{
id: 'doughnut',
name: this.$t('dashboard.dashboard.chartForm.typeVal.doughnut.label')
},
{
id: 'bubble',
name: this.$t('dashboard.dashboard.chartForm.typeVal.bubble.label')
@@ -1001,7 +1005,8 @@ export default {
case 'bar':
case 'treemap':
case 'pie':
if (this.oldType === 'bar' || this.oldType === 'treemap' || this.oldType === 'pie') {
case 'doughnut':
if (this.oldType === 'bar' || this.oldType === 'treemap' || this.oldType === 'pie' || this.oldType === 'doughnut') {
break
}
this.chartConfig.param = {