Axis.MinimumOffset and Axis.MaximumOffset

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
AndreasL
Newbie
Newbie
Posts: 1
Joined: Thu Apr 30, 2009 12:00 am
Contact:

Axis.MinimumOffset and Axis.MaximumOffset

Post by AndreasL » Fri Jan 08, 2010 1:23 pm

Hello,
I have a problem with the new version TeeChart 4.0.2009.42283.

The settings of Axis.MinimumOffset and Axis.MaximumOffset were no more used when Axis.Automatic is set to true.

I can give an example.

Best regards

Andreas Lindenthal

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

Re: Axis.MinimumOffset and Axis.MaximumOffset

Post by Narcís » Fri Jan 08, 2010 2:51 pm

Hi Andreas,

Thanks for reporting. I could reproduce the issue here using code snippet below and added it to the defect list to be fixed with ID. TF02014628.

Code: Select all

			tChart1.Aspect.View3D = false;

			Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
			line1.FillSampleValues();

			//Using line below works.
			//tChart1.Axes.Bottom.SetMinMax(line1.MinXValue(), line1.MaxXValue());

			tChart1.Axes.Bottom.MinimumOffset = 100;
			tChart1.Axes.Bottom.MaximumOffset = 100;
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