mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 08:56:01 +02:00
TAChart: Modify TBoxAndWhiskerSeries.AddXY to use correct YCount value.
git-svn-id: trunk@47343 -
This commit is contained in:
parent
c98ac1c406
commit
25a3227bc9
@ -446,6 +446,7 @@ function TBoxAndWhiskerSeries.AddXY(
|
||||
AX, AYLoWhisker, AYLoBox, AY, AYHiBox, AYHiWhisker: Double; AXLabel: String;
|
||||
AColor: TColor): Integer;
|
||||
begin
|
||||
if ListSource.YCount < 5 then ListSource.YCount := 5;
|
||||
Result := AddXY(
|
||||
AX, AYLoWhisker, [AYLoBox, AY, AYHiBox, AYHiWhisker], AXLabel, AColor);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user