mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 20:36:09 +02:00
TAChart: Change default value of TFitSeries.Pointer.Visible to false for backward-compatibility
git-svn-id: trunk@54698 -
This commit is contained in:
parent
3081a50b7d
commit
a7e4e76dcc
@ -1388,7 +1388,10 @@ begin
|
||||
ycalc := ycalc * TArbFloatArray(x)[i] + FFitParams[j];
|
||||
SSres := SSres + sqr(TArbFloatArray(y)[i] - ycalc);
|
||||
end;
|
||||
Result := 1.0 - SSres / SStot;
|
||||
if SStot = 0 then
|
||||
Result := 0.0
|
||||
else
|
||||
Result := 1.0 - SSres / SStot;
|
||||
{$POP}
|
||||
end;
|
||||
|
||||
@ -1440,6 +1443,7 @@ begin
|
||||
FFitRange := TFitSeriesRange.Create(Self);
|
||||
FDrawFitRangeOnly := true;
|
||||
FPointer := TSeriesPointer.Create(ParentChart);
|
||||
FPointer.Visible := false;
|
||||
FPen := TChartPen.Create;
|
||||
FPen.OnChange := @StyleChanged;
|
||||
FStep := DEF_FIT_STEP;
|
||||
|
Loading…
Reference in New Issue
Block a user