mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 10:49:16 +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
|
var
|
||||||
de : TIntervalList;
|
de : TIntervalList;
|
||||||
begin
|
begin
|
||||||
if IsEmpty then exit;
|
if IsEmpty or not FValidFitParams then exit;
|
||||||
ADrawer.Pen := Pen;
|
ADrawer.Pen := Pen;
|
||||||
de := PrepareIntervals;
|
de := PrepareIntervals;
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user