| | |
| | | blocks.add(new HolidayTrendWordService.ChartBlock( |
| | | "“" + holidayLabel + "”假期铁路客运量情况", |
| | | chartService.lineChart("万人次", |
| | | series(years, yearData, item -> item.rail), false, 1100, 445), |
| | | // Pin the 2026 rail label for day 3 above its point so the |
| | | // 2024 label (70.6) no longer covers it; other charts keep |
| | | // automatic placement. |
| | | series(years, yearData, item -> item.rail), false, 2, |
| | | HolidayTrendChartService.DAY_LABELS, 1100, 445, |
| | | Collections.singletonList(new HolidayTrendChartService.LineLabelOverride( |
| | | 0, 2, HolidayTrendChartService.LineLabelAnchor.ABOVE))), |
| | | lineImageSize(5264785L, 2129155L))); |
| | | blocks.add(new HolidayTrendWordService.ChartBlock( |
| | | "“" + holidayLabel + "”假期水路客运量情况", |