mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-20 16:19:49 +01:00
TAChart: Fix zero division when calling ImageToGraph before the chart is drawn
git-svn-id: trunk@38651 -
This commit is contained in:
parent
9215fdebd3
commit
15016fc37f
@ -577,6 +577,7 @@ begin
|
||||
FAntialiasingMode := amDontCare;
|
||||
FAxisVisible := true;
|
||||
FDrawer := TCanvasDrawer.Create(Canvas);
|
||||
FScale := DoublePoint(1, 1);
|
||||
|
||||
Width := DEFAULT_CHART_WIDTH;
|
||||
Height := DEFAULT_CHART_HEIGHT;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user