Bottom Axis Label

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Mike Jones
Advanced
Posts: 192
Joined: Thu Feb 01, 2007 12:00 am
Contact:

Bottom Axis Label

Post by Mike Jones » Wed Jan 02, 2008 9:11 pm

I have a 2D chart that has a left axis and a bottom axis. I have some code that looks like:

this.Axes.Bottom.Automatic = false;
this.Axes.Bottom.Minimum = sizes[0, 0];
this.Axes.Bottom.Maximum = sizes[0, 1];
this.Axes.Bottom.MinimumOffset = 1;
this.Axes.Bottom.MaximumOffset = 1;

this.Axes.Left.Automatic = false;
this.Axes.Left.Minimum = sizes[1, 0];
this.Axes.Left.Maximum = sizes[1, 1];
this.Axes.Left.MinimumOffset = 1;
this.Axes.Left.MaximumOffset = 1;

The Left axis Min/Max is 1 - 15
the Bottom axis Min/Max is 0 - 1

The issue I am seeing is, the left Axis will have axis labels 1, 2, 3 ... 15. On the bottom axis I have 3 the tick marks between the 0 and 1. The labels are only at the left and right most ends of the bottom axis. They are labeled 0 and 1. The tick marks in between do not have any labels.

I was wondering if there is a setting that caused this problem on the bottom axis. I have looked at differences for settings between the Left and Bottom Axis, and I can't seem to see any differences.

Since I set the Automatic property = false, do I need to set the increment? I noticed when I change the Axes.Bottom.Increment to something other than 0 I see labels on the tick marks in between the 0 and 1.

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

Post by Narcís » Thu Jan 03, 2008 8:59 am

Hi Mike,

Yes, this is possibly a bug. I'll add this issue to our defect list to be enhanced for future releases. In the meantime you'll need to set Increment to a value smaller than 1. Setting it to zero means it being automatic.
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

Mike Jones
Advanced
Posts: 192
Joined: Thu Feb 01, 2007 12:00 am
Contact:

Do you have a TF number

Post by Mike Jones » Thu Jan 03, 2008 1:44 pm

I keep track of issues you are aware of. Do you have a TF number assigned to this issue?

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

Post by Narcís » Thu Jan 03, 2008 2:30 pm

Hi Mike,

Sure! Sorry for not posting it before. Tracking system id for this item issue is TF02012691.
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