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