|
|
@ -102,11 +102,11 @@ |
|
|
|
var maxMap = {}; |
|
|
|
var maxMap = {}; |
|
|
|
var minMap = {}; |
|
|
|
var minMap = {}; |
|
|
|
BI.each(header, function(i, header) { |
|
|
|
BI.each(header, function(i, header) { |
|
|
|
if (!dimId && BI.Utils.isDimDimensionById(header.dId)) { |
|
|
|
if (!dimId && data.widgetHelper.isDimDimensionById(header.dId)) { |
|
|
|
dimId = header.dId; |
|
|
|
dimId = header.dId; |
|
|
|
seriesName = header.text; |
|
|
|
seriesName = header.text; |
|
|
|
} |
|
|
|
} |
|
|
|
if (!targetId && BI.Utils.isTargetById(header.dId)) { |
|
|
|
if (!targetId && data.widgetHelper.isTargetById(header.dId)) { |
|
|
|
targetId = header.dId; |
|
|
|
targetId = header.dId; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
@ -178,7 +178,7 @@ |
|
|
|
var dataGroup = {}; |
|
|
|
var dataGroup = {}; |
|
|
|
|
|
|
|
|
|
|
|
BI.each(header, function(i, header) { |
|
|
|
BI.each(header, function(i, header) { |
|
|
|
if (BI.Utils.isDimDimensionById(header.dId)) { |
|
|
|
if (data.widgetHelper.isDimDimensionById(header.dId)) { |
|
|
|
dimId = header.dId; |
|
|
|
dimId = header.dId; |
|
|
|
seriesName = header.text; |
|
|
|
seriesName = header.text; |
|
|
|
} |
|
|
|
} |
|
|
@ -240,7 +240,7 @@ |
|
|
|
this.render = function(el, d) { |
|
|
|
this.render = function(el, d) { |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
// 获取WID
|
|
|
|
// 获取WID
|
|
|
|
var configObj = BI.Utils.getReportInjectionById(this.model.wId); |
|
|
|
var configObj = d.widgetHelper.getInjection(); |
|
|
|
console.log(d); |
|
|
|
console.log(d); |
|
|
|
console.log(configObj); |
|
|
|
console.log(configObj); |
|
|
|
var series; |
|
|
|
var series; |
|
|
|