TCustomTeePanel.ReCalcWidthHeight
TCustomTeePanel
procedure ReCalcWidthHeight;
Unit
TeeProcs
Description
The ReCalcWidthHeight method recalculates the TCustomTeePanel.ChartWidth and TCustomTeePanel.ChartHeight variables.
You should maybe never call this method. It's called automatically by the TChart component.
This is the implementation of ReCalcWidthHeight:
procedure TChart.RecalcWidthHeight;
begin
ChartWidth:=ChartRect.Right-ChartRect.Left;
if ChartWidth<=0 then ChartWidth:=1;
ChartHeight:=ChartRect.Bottom-ChartRect.Top;
if ChartHeight<=0 then ChartHeight:=1;
end;