mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
Merge pull request #265 from dataease/pr@dev@fix_单指标图表可能下标越界
fix: 单指标图表可能下标越界
This commit is contained in:
commit
6b6372fd43
@ -313,7 +313,7 @@ public class ChartViewService {
|
||||
// table组件
|
||||
List<ChartViewFieldDTO> fields = new ArrayList<>();
|
||||
List<Map<String, Object>> tableRow = new ArrayList<>();
|
||||
if (ObjectUtils.isNotEmpty(xAxis)) {
|
||||
if (ObjectUtils.isNotEmpty(xAxis) && !StringUtils.equalsIgnoreCase("text", view.getType()) && !StringUtils.equalsIgnoreCase("gauge", view.getType())) {
|
||||
fields.addAll(xAxis);
|
||||
}
|
||||
fields.addAll(yAxis);
|
||||
|
Loading…
Reference in New Issue
Block a user