forked from github/dataease
fix(图表): 修复汇总表以及透视表的同环比,通过组件过滤器过滤数据时,先过滤数据再进行同环比的问题
This commit is contained in:
parent
2a84294329
commit
23ccb33dd6
@ -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);
|
||||
|
@ -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";
|
||||
}
|
Loading…
Reference in New Issue
Block a user