Fixed label display in 2 data graph.
This commit is contained in:
parent
3feafb815c
commit
79441007b0
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ public class ChartHtmlizer
|
|||
{
|
||||
for (YearWeek timestamp = startTarget; !timestamp.isAfter(endTarget); timestamp = timestamp.plusWeeks(1))
|
||||
{
|
||||
LocalDate date = timestamp.atDay(DayOfWeek.MONDAY).plusWeeks(1);
|
||||
LocalDate date = timestamp.atDay(DayOfWeek.MONDAY).plusDays(6);
|
||||
String timestampLabel = date.format(DateTimeFormatter.ofPattern("yyyy-MMM-dd", Locale.FRANCE));
|
||||
chart.getLabels().add(timestampLabel);
|
||||
|
||||
|
|
Loading…
Reference in a new issue