Page 1 of 1

Width value determining labels width

Posted: Tue May 10, 2005 5:58 pm
by 9340459
I have to Tcharts besides eachother. One with and one without left side axis labels.

How can I set the chart area within the aquare lines at the same width, independent of the labels width on the left side?

I need the same bottom axis width for both working areas. I can set the Tchart.width, but depending on the leftaxis labelswidth the working area will differ.

Hans

Posted: Wed May 11, 2005 7:32 am
by narcis
Hi Hans,

You can set chart margins using:

Code: Select all

			tChart1.Axes.Left.Labels.Visible=false;
			tChart1.Axes.Left.Visible=false;


			tChart1.Panel.MarginUnits=Steema.TeeChart.PanelMarginUnits.Pixels;
			tChart1.Panel.MarginLeft=-1;
Depending on what you are trying to get you may better use only one chart and different custom axes.