Width value determining labels width

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Hans
Newbie
Newbie
Posts: 28
Joined: Mon Jan 03, 2005 5:00 am

Width value determining labels width

Post by Hans » Tue May 10, 2005 5:58 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed May 11, 2005 7:32 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply