mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 22:37:28 +02:00
TAChart: Do not draw fit series if the fitting was not performed.
Patch by Werner Pamler. git-svn-id: trunk@38179 -
This commit is contained in:
parent
f88fab8bc7
commit
d9d528ab9c
@ -1142,7 +1142,7 @@ procedure TFitSeries.Draw(ADrawer: IChartDrawer);
|
||||
var
|
||||
de : TIntervalList;
|
||||
begin
|
||||
if IsEmpty then exit;
|
||||
if IsEmpty or not FValidFitParams then exit;
|
||||
ADrawer.Pen := Pen;
|
||||
de := PrepareIntervals;
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user