TAChart: Modify TBoxAndWhiskerSeries.AddXY to use correct YCount value.

git-svn-id: trunk@47343 -
This commit is contained in:
wp 2015-01-11 22:11:00 +00:00
parent c98ac1c406
commit 25a3227bc9

View File

@ -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;