|
|
@@ -267,7 +267,7 @@ public class QualityIndicatorImpl implements QualityIndicatorService {
|
|
|
int baseYear = xAxis.isEmpty() ? java.time.Year.now().getValue() : extractYearFromStringLabel(xAxis.get(0));
|
|
|
|
|
|
for (int i = 0; i < needFill; i++) {
|
|
|
- int fillYear = baseYear - (needFill - i); // 依次往前推年份
|
|
|
+ int fillYear = baseYear - (i + 1); // 依次往前推年份
|
|
|
xAxis.add(0, fillYear + "年度"); // 往前补年度标签
|
|
|
yAxisData.add(0, null); // 往前补空数据
|
|
|
markLineData.add(0, null); // 往前补空标线
|