Merge pull request #502 from dataease/pr@dev@refactor_堆叠柱状图优化
refactor: 堆叠图优化
This commit is contained in:
commit
ab1133a5e6
@ -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