NEZ-2037 feat:新增chart类型bubble

This commit is contained in:
zyh
2022-07-21 10:33:20 +08:00
parent 199d9be7b5
commit c3faf9ae21
10 changed files with 324 additions and 4 deletions

View File

@@ -910,6 +910,10 @@ export default {
id: 'pie',
name: this.$t('dashboard.panel.chartForm.typeVal.pie.label')
},
{
id: 'bubble',
name: this.$t('dashboard.panel.chartForm.typeVal.bubble.label')
},
{
id: 'log',
name: this.$t('dashboard.panel.chartForm.typeVal.log.label')
@@ -980,7 +984,8 @@ export default {
case 'stat':
case 'hexagon':
case 'gauge':
if (this.oldType === 'stat' || this.oldType === 'gauge' || this.oldType === 'hexagon') {
case 'bubble':
if (this.oldType === 'stat' || this.oldType === 'gauge' || this.oldType === 'hexagon' || this.oldType === 'bubble') {
break
}
this.chartConfig.param = {