NEZ-2520 feat:新增漏斗图图表类型

This commit is contained in:
zyh
2023-02-02 10:00:21 +08:00
parent 0dde0b0458
commit 8c7ee1b620
19 changed files with 2127 additions and 174 deletions

View File

@@ -294,7 +294,7 @@
<el-form-item
:label="$t('config.assetLabel.display')"
class="form-item--half-width"
prop="param.nullType"
prop="param.text"
v-if="isShowText(chartConfig.type)"
>
<el-select
@@ -894,6 +894,10 @@ export default {
id: 'bubble',
name: this.$t('dashboard.panel.chartForm.typeVal.bubble.label')
},
{
id: 'funnel',
name: this.$t('dashboard.panel.chartForm.typeVal.funnel.label')
},
{
id: 'rank',
name: this.$t('dashboard.panel.chartForm.typeVal.rank.label')
@@ -966,7 +970,8 @@ export default {
case 'gauge':
case 'bubble':
case 'rank':
if (this.oldType === 'stat' || this.oldType === 'gauge' || this.oldType === 'hexagon' || this.oldType === 'bubble' || this.oldType === 'rank') {
case 'funnel':
if (this.oldType === 'stat' || this.oldType === 'gauge' || this.oldType === 'hexagon' || this.oldType === 'bubble' || this.oldType === 'rank' || this.oldType === 'funnel') {
break
}
this.chartConfig.param = {