fix(图表): 修复汇总表以及透视表的同环比,通过组件过滤器过滤数据时,先过滤数据再进行同环比的问题

This commit is contained in:
jianneng-fit2cloud 2024-09-11 14:07:20 +08:00
parent 2a84294329
commit 23ccb33dd6
2 changed files with 16 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import io.dataease.extensions.view.dto.ChartViewFieldDTO;
import java.util.ArrayList;
public class GroupChartHandler extends DefaultChartHandler {
public class GroupChartHandler extends YoyChartHandler {
@Override
public AxisFormatResult formatAxis(ChartViewDTO view) {
var result = super.formatAxis(view);

View File

@ -0,0 +1,15 @@
package io.dataease.chart.charts.impl.table;
import io.dataease.chart.charts.impl.YoyChartHandler;
import lombok.Getter;
import org.springframework.stereotype.Component;
/**
* @author jianneng
* @date 2024/9/11 11:37
**/
@Component
public class TableNormalHandler extends YoyChartHandler {
@Getter
private String type = "table-normal";
}