mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 10:19:36 +02:00
TAChart: Force TDateTimeIntervalChartSource to place labels at the first day of a week in dtsWeek mode, and at Jan 1 in dtsMonth mode (if visible).
This commit is contained in:
parent
42e38ce991
commit
6e2097ec76
@ -254,7 +254,8 @@ begin
|
||||
Result := EncodeDate(y, m, 1);
|
||||
end;
|
||||
end;
|
||||
dtsMonth: Result := StartOfTheMonth(AValue);
|
||||
dtsMonth: Result := StartOfTheYear(AValue);
|
||||
dtsWeek: Result := StartOfTheWeek(AValue);
|
||||
else ;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user