45% angle no longer aligned properly
45% angle no longer aligned properly
I just moved a project from version 2011 to 2014 and I found that when I set the angle of values on the bottom axis of a bar chart to 45%, they are no longer aligned properly. Before values were all aligned and distributed properly, the last character of each label was at an equal distance from the bottom axis with equal space between labels. Now, the distance of the last character from the bottom axis depends on the length of the word, so some labels do overlap. It seems like the labels are centered. The result is quite ugly.
See a sample graph before:
and see the bottom labels after:
Is there a new option I should be aware of? If not, I would probably have to go back to version 2011.
NP
See a sample graph before:
and see the bottom labels after:
Is there a new option I should be aware of? If not, I would probably have to go back to version 2011.
NP
Re: 45% angle no longer aligned properly
Hi,
Last versions of TeeChart switched the default engine from GDI to GDIPlus but you can still activate GDI as mentioned here.
If changing to GDI doesn't make it work as you wish, please don't hesitate to let us know.
Last versions of TeeChart switched the default engine from GDI to GDIPlus but you can still activate GDI as mentioned here.
If changing to GDI doesn't make it work as you wish, please don't hesitate to let us know.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: 45% angle no longer aligned properly
Unfortunately, it does not make any difference. Labels in 2014 are still badly aligned.
Normand
Normand
Re: 45% angle no longer aligned properly
Hi Normand,
We are working on the rotation for the axis labels in different situations, as you can see in the comments in this ticket:
http://bugs.teechart.net/show_bug.cgi?id=947
Please stay tuned.
We are working on the rotation for the axis labels in different situations, as you can see in the comments in this ticket:
http://bugs.teechart.net/show_bug.cgi?id=947
Please stay tuned.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: 45% angle no longer aligned properly
Well, all those a single line labels, so I hope your attempt to fix the issue with multiple lines will also fix the issue with single line labels.
I'm not sure what changed, but it appears that labels are centered vertically in version 2014, while they were right aligned to the bottom axis in version 2011. Centering them seems to be causing this. The shorter they are, the lower they become.
Normand
I'm not sure what changed, but it appears that labels are centered vertically in version 2014, while they were right aligned to the bottom axis in version 2011. Centering them seems to be causing this. The shorter they are, the lower they become.
Normand
Re: 45% angle no longer aligned properly
Hi Normand,
I've attached a project we use here for testing the axis labels rotation. As you'll see it includes the option to use multi-line.
http://bugs.teechart.net/show_bug.cgi?id=947
I've attached a project we use here for testing the axis labels rotation. As you'll see it includes the option to use multi-line.
http://bugs.teechart.net/show_bug.cgi?id=947
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: 45% angle no longer aligned properly
Yeray,
I understand that you are working on ways to support axis labels rotation for multilines, but I don't understand why this is relevant to me who can no longer display single line labels properly.
The only think that I do understand is that while working on the support of rotated multiline labels, the proper display of single line labels was broken. It is unfortunate since I can't use the 2014 version without breaking an existing feature of my existing application: 45% labels on bar charts.
Do you have any suggestion as to ways to fix those labels in my application? I will explore the Texts.Size property or maybe I could just fill short labels with spaces? If I can't find it, I will go back to the 2011 version.
Any idea when the display of rotated single line labels will be fixed?
I understand that you are working on ways to support axis labels rotation for multilines, but I don't understand why this is relevant to me who can no longer display single line labels properly.
The only think that I do understand is that while working on the support of rotated multiline labels, the proper display of single line labels was broken. It is unfortunate since I can't use the 2014 version without breaking an existing feature of my existing application: 45% labels on bar charts.
Do you have any suggestion as to ways to fix those labels in my application? I will explore the Texts.Size property or maybe I could just fill short labels with spaces? If I can't find it, I will go back to the 2011 version.
Any idea when the display of rotated single line labels will be fixed?
Re: 45% angle no longer aligned properly
After testing, I can see that the Texts.Size does not work. Filling labels with space do work and I can create a barchart with 45 degree labels properly aligned, but it is not a workable solution since all other settings (label angles) or other charts created with this data will be distorted.
So for now, my solution is to go back to a prior version. I still need to figure out which version I will move to. 2013? 2012?
If you know when this change was made, I could at least reverse to a version just prior to it while waiting for you to fix this newly introduced bug.
So for now, my solution is to go back to a prior version. I still need to figure out which version I will move to. 2013? 2012?
If you know when this change was made, I could at least reverse to a version just prior to it while waiting for you to fix this newly introduced bug.
Re: 45% angle no longer aligned properly
The problem appeared with the November 2013. The march version works fine, so I moved back to this version. Extensive changes were made to the DrawAxisLabels in TeEngine, so my guess is that the problem lies here.
Surely hope you can fix this soon.
Normand
Surely hope you can fix this soon.
Normand
Re: 45% angle no longer aligned properly
Hello Normand,
Excuse us for the inconvenience and thanks for sharing your investigations!
I know the problem here is with single line axis labels; It looked so similar to the multi-line problem that I thought it was a good idea to put things together, to test both situations at the same time.
I'm afraid I can't tell you when this will be fixed, but you can follow the ticket adding your mail to the CC list to be automatically notified when an update arrives.
Excuse us for the inconvenience and thanks for sharing your investigations!
I know the problem here is with single line axis labels; It looked so similar to the multi-line problem that I thought it was a good idea to put things together, to test both situations at the same time.
I'm afraid I can't tell you when this will be fixed, but you can follow the ticket adding your mail to the CC list to be automatically notified when an update arrives.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |