From f75cac752dbdb41e4bd440aea0c70b49a28d63c7 Mon Sep 17 00:00:00 2001 From: wisonic-s <51065359+wisonic-s@users.noreply.github.com> Date: Tue, 24 Jun 2025 16:03:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=95=A3=E7=82=B9=E5=9B=BE=E4=B8=8B=E9=92=BB=E4=B9=8B=E5=90=8E?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF=20#16345?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/dataease/chart/utils/ChartDataBuild.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-backend/src/main/java/io/dataease/chart/utils/ChartDataBuild.java b/core/core-backend/src/main/java/io/dataease/chart/utils/ChartDataBuild.java index 125349d97c..c533be1934 100644 --- a/core/core-backend/src/main/java/io/dataease/chart/utils/ChartDataBuild.java +++ b/core/core-backend/src/main/java/io/dataease/chart/utils/ChartDataBuild.java @@ -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);