Merge pull request #12402 from ulleo/dev-v2

fix(图表): 修复桑基图目的维度自定义排序选项展示错误的问题
This commit is contained in:
ulleo 2024-09-24 14:41:00 +08:00 committed by GitHub
commit 57f39f48b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -622,7 +622,9 @@ public class ChartDataManage {
|| StringUtils.containsIgnoreCase(view.getType(), "group") || StringUtils.containsIgnoreCase(view.getType(), "group")
|| ("antv".equalsIgnoreCase(view.getRender()) && "line".equalsIgnoreCase(view.getType())) || ("antv".equalsIgnoreCase(view.getRender()) && "line".equalsIgnoreCase(view.getType()))
|| StringUtils.equalsIgnoreCase(view.getType(), "flow-map") || StringUtils.equalsIgnoreCase(view.getType(), "flow-map")
|| StringUtils.equalsIgnoreCase(view.getType(), "t-heatmap")) { || StringUtils.equalsIgnoreCase(view.getType(), "t-heatmap")
|| StringUtils.equalsIgnoreCase(view.getType(), "sankey")
) {
xAxis.addAll(xAxisExt); xAxis.addAll(xAxisExt);
} }
List<ChartViewFieldDTO> yAxis = new ArrayList<>(view.getYAxis()); List<ChartViewFieldDTO> yAxis = new ArrayList<>(view.getYAxis());