NEZ-2702 feat:stat图表增加对比功能(Comparison)
This commit is contained in:
@@ -467,8 +467,9 @@ export default {
|
||||
if (!this.chart.groupId || this.chart.groupId == -1) {
|
||||
this.chart.groupId = ''
|
||||
}
|
||||
if (this.chart.type === 'stat' && !this.chart.param.sparklineMode) {
|
||||
this.chart.param.sparklineMode = 'none'
|
||||
if (this.chart.type === 'stat') {
|
||||
if (!this.chart.param.sparklineMode) { this.chart.param.sparklineMode = 'none' }
|
||||
if (!this.chart.param.comparison) { this.chart.param.comparison = 'none' }
|
||||
}
|
||||
if (this.chart.type == 'table') {
|
||||
const arr = this.chart.param.indexs ? this.chart.param.indexs.split(',') : []
|
||||
|
||||
Reference in New Issue
Block a user