fix(图表): 修复散点图下钻之后提示显示错误 #16345

This commit is contained in:
wisonic-s
2025-06-24 16:03:56 +08:00
committed by GitHub
parent 70e51002cb
commit f75cac752d

View File

@@ -428,7 +428,8 @@ public class ChartDataBuild {
// pop
if (ObjectUtils.isNotEmpty(extBubble)) {
try {
axisChartDataDTO.setPopSize(StringUtils.isEmpty(row[2]) ? null : new BigDecimal(row[2]));
var popIndex = xAxis.size() + yAxis.size();
axisChartDataDTO.setPopSize(StringUtils.isEmpty(row[popIndex]) ? null : new BigDecimal(row[popIndex]));
ChartQuotaDTO bubbleQuotaDTO = new ChartQuotaDTO();
bubbleQuotaDTO.setId(extBubble.get(0).getId());
quotaList.add(bubbleQuotaDTO);