TAChart: Avoid uninitialized parameter in TBarSeries.Extent calculation when XCount = 0.

git-svn-id: trunk@61083 -
This commit is contained in:
wp 2019-04-29 16:51:05 +00:00
parent fda91e1ea3
commit ae5ab44793

View File

@ -1522,7 +1522,7 @@ begin
// Show first and last bars fully.
if Source.XCount = 0 then begin
BarOffsetWidth(x, 0, ofs, w);
BarOffsetWidth(0.0, 0, ofs, w);
Result.a.X -= (ofs + w);
Result.b.X += (ofs + w);
end else begin