It appears the bottom axis labels size is wrongly calculated.
Create a new window, Add a chart with (eg. Bar) Series.
Set bottom margin to 0 (just for testing)
Go to data pane, edit labels of series
enter aaaaa -> everything is OK
enter ABCIIIIIIIIIIIIIIIIIII -> After entering a lot of I's, the A drops of the chart pane.
There are more character combinations that make it go wrong. used testing font is Arial 8 (the default)
Please fix, I have to set margins now which ends up short labels taking a lot of space.
(Still Using 7.11 - I can't find a changes doc for 7.12)
Regards,
Hans
BottomAxis labels problem
-
- Newbie
- Posts: 31
- Joined: Thu Feb 22, 2007 12:00 am
- Location: Nijmegen, Netherlands
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Hans,
This is not a bug, it is just that TeeChart centers the labels to their corresponding tick and if they are too long they don't fit in the given space. A solution to your problem could be using what's shown at the All Features\Axes\Labels\First and Last labels example in the features demo, available at TeeChart's program group.
This is not a bug, it is just that TeeChart centers the labels to their corresponding tick and if they are too long they don't fit in the given space. A solution to your problem could be using what's shown at the All Features\Axes\Labels\First and Last labels example in the features demo, available at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 31
- Joined: Thu Feb 22, 2007 12:00 am
- Location: Nijmegen, Netherlands
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Hans,
Thanks for the info.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Anyway, I could reproduce the problem here and added it (TV52012467) to our defect list to be fixed for future releases.
In the meantime, you can use Chart1.Axes.Bottom.MaxLabelsWidth for calculating dynamically bottom margin.
Thanks for the info.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Anyway, I could reproduce the problem here and added it (TV52012467) to our defect list to be fixed for future releases.
In the meantime, you can use Chart1.Axes.Bottom.MaxLabelsWidth for calculating dynamically bottom margin.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |