TCustomTeePanel.ChartXCenter

TCustomTeePanel.ChartXCenter
TCustomTeePanel

property ChartXCenter: Integer;

Unit
TeeProcs

Description
This function returns the centre Horizontal co-ordinate of the Chart.

This IS NOT the same as Chart1.Width / 2, because Chart margins, Axis margins, Legend width, etc are first substracted from the Chart horizontal size.

i.e.: TPieSeries uses ChartXCenter for the Pie center.