NEZ-2768 feat:新增圆环图 图表类型
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user