NEZ-1292 feat: chart-hexagon 六边形组件开发

This commit is contained in:
zhangyu
2021-12-28 18:09:44 +08:00
parent 805ec979c6
commit bb5f780d9e
12 changed files with 502 additions and 34 deletions

View File

@@ -728,6 +728,10 @@ export default {
id: 'stat',
name: this.$t('dashboard.panel.chartForm.typeVal.singleStat.label')
},
{
id: 'hexagon',
name: this.$t('dashboard.panel.chartForm.typeVal.hexagonFigure.label')
},
{
id: 'bar',
name: this.$t('dashboard.panel.chartForm.typeVal.bar.label')
@@ -803,8 +807,9 @@ export default {
})
break
case 'stat':
case 'hexagon':
case 'guage':
if (this.oldType === 'stat' || this.oldType === 'guage') {
if (this.oldType === 'stat' || this.oldType === 'guage' || this.oldType === 'hexagon') {
break
}
this.chartConfig.param = {