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