public Rectangle ChartBounds {get;}
Read Only
Remarks
The ChartBounds property is used to get the four sides of the Chart (Left, Top, Right and Bottom) Example
[C#]
ChartBounds can be used when adding an object to a Chart so that it is resized together with the Chart.
private void tChart3_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
{
g.Pen.Color=Color.Yellow;
g.Line(g.Chart.ChartBounds.Left+50,g.Chart.ChartBounds.Top+50,
g.Chart.ChartBounds.Right-50,g.Chart.ChartBounds.Bottom-50);
}
See Also
Chart Class | Chart Members | Steema.TeeChart Namespace