TAChart: Fix initialization error in TChartLiveView when ExtentY is lveAuto.

git-svn-id: trunk@65425 -
This commit is contained in:
wp 2021-07-09 09:06:43 +00:00
parent 8ea00ae159
commit 2bf2902c91
2 changed files with 3 additions and 0 deletions

View File

@ -198,6 +198,7 @@
</CodeGeneration>
<Linking>
<Debugging>
<DebugInfoType Value="dsDwarf2Set"/>
<TrashVariables Value="True"/>
</Debugging>
<Options>

View File

@ -124,6 +124,8 @@ begin
begin
ygmin := Infinity;
ygmax := -Infinity;
ymin := Infinity;
ymax := -Infinity;
for i := 0 to FChart.SeriesCount-1 do
if FChart.Series[i] is TChartSeries then
begin