forked from github/dataease
refactor: 堆叠图优化
This commit is contained in:
parent
546152fe27
commit
5a0fcc52c9
@ -494,7 +494,12 @@ public class ChartViewService {
|
||||
}
|
||||
}
|
||||
if (StringUtils.equals(a.toString(), x.get(i))) {
|
||||
ss.getData().set(i, new BigDecimal(row[xAxis.size() + extStack.size()]));
|
||||
if (row.length > xAxis.size() + extStack.size()) {
|
||||
String s = row[xAxis.size() + extStack.size()];
|
||||
if (StringUtils.isNotEmpty(s)) {
|
||||
ss.getData().set(i, new BigDecimal(s));
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user