Skip to content

Commit

Permalink
Merge pull request #9710 from ulleo/dev-v2
Browse files Browse the repository at this point in the history
fix(图表): 修复区间条形图值轴没有值的时候更新图表数据页面报错的问题
  • Loading branch information
ulleo committed May 17, 2024
2 parents 00d1c94 + c6f0446 commit 70203ad
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ public ChartViewDTO calcData(ChartViewDTO view) throws Exception {
} else {
skipBarRange = true;
}

} else {
skipBarRange = true;
}
}

Expand Down Expand Up @@ -579,7 +580,7 @@ public ChartViewDTO calcData(ChartViewDTO view) throws Exception {
String limit = ((pageInfo.getGoPage() != null && pageInfo.getPageSize() != null) ? " LIMIT " + pageInfo.getPageSize() + " OFFSET " + (pageInfo.getGoPage() - 1) * pageInfo.getPageSize() : "");
detailFieldSql = originSql + limit;
}
}else {
} else {
Dimension2SQLObj.dimension2sqlObj(sqlMeta, xAxis, transFields(allFields), crossDs, dsMap);
Quota2SQLObj.quota2sqlObj(sqlMeta, yAxis, transFields(allFields), crossDs, dsMap);
querySql = SQLProvider.createQuerySQL(sqlMeta, true, needOrder, view);
Expand Down

0 comments on commit 70203ad

Please sign in to comment.