TCustomTeePanel.ChartYCenter

TCustomTeePanel.ChartYCenter
TCustomTeePanel

property ChartYCenter: Integer;

Unit
TeeProcs

Description
This function returns the middle Vertical coordinate of the Chart.

This IS NOT the same as Chart1.Height / 2, because Chart margins, Axis margins, Legend width, etc are first substracted to the Chart vertical size.

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