Left Axis Labels sometimes overwrites Left Axes Title

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
MarkusS
Newbie
Newbie
Posts: 1
Joined: Mon Aug 04, 2003 4:00 am
Contact:

Left Axis Labels sometimes overwrites Left Axes Title

Post by MarkusS » Wed Jun 15, 2005 7:30 am

This happpens with A Vertical Title and formatted Labels which are aligned to the left. If the Labels have different length (9 ; 9.5 ; 10 ; 10.5)
then the TChart Algorithm to calculate the Distance to the Axes-Label seems to fail. Zooming to a different Y-Position it can be corrected.
The Algorithm seems to ralate to the length of the topmost Number.
Here (9 ; 9.5 ; 10 ; 10.5) we have 4 different lengths and especially 10.5 couse a negative distance.

Is there a workaround? (to align the Labels to the right is not an option because we need the Decimal Points aligned)

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 Jun 15, 2005 9:23 am

Hi MarkusS,

I haven't been able to reproduce what you report here using last TeeChart version available at our Customer Download Area (Build 1.1.1879.21176). Which version are you using? Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
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

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 Jun 16, 2005 3:14 pm

Hi Markus,

Thanks for your example.

I've been able to reproduce your problem using your application but not able reproducing it in a new example. Could you please tell me which settings did you use to create that example?

Thanks in advance.
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

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

Post by Narcís » Mon Jun 20, 2005 11:23 am

Hi Markus,

I've been able to guess where the problem comes from. The problem is the combination of your left axis maximum value and maximum offset. I've already included this bug to our defect list to be fixed for future releases.

In the meantime, the easiest way to solve it is increasing your axis labels size (TChart1.Axes.Left.Labels.CustomSize = 35). You could also try increasing left axis maximum value and setting a negative offset.
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