TAChart: Fix zero division when calling ImageToGraph before the chart is drawn

git-svn-id: trunk@38651 -
This commit is contained in:
ask 2012-09-14 10:46:23 +00:00
parent 9215fdebd3
commit 15016fc37f

View File

@ -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;