Page 1 of 1

Posted: Wed Jan 14, 2004 12:43 pm
by Marjan
Hi.

Actual series plot area is defined by the chart Chart.ChartRect rectangle. For example, the following code will retreive chart drawing area bounding rectangle and plot area width/height - of course, after the axes are drawn:

Code: Select all

System.Drawing.Rectangle r = tChart1.Chart.ChartRect;
int w = r.Width;
int h = r.Height;