pChart 2.x forum
http://wiki.pchart.net/forum/

Vertical alignment of legend text
http://wiki.pchart.net/forum/viewtopic.php?f=5&t=258
Page 1 of 1

Author:  richc1977 [ Fri Feb 18, 2011 6:46 pm ]
Post subject:  Vertical alignment of legend text

If you have a horizontal legend the vertical alignment of the different legend labels aren't aligned properly, if you have letters with descenders (like p, q, y) in one legend label but other legend labels dont have descending characters the labels are mis-aligned.

See the attached graph to explain what I'm getting at.

You get the same problem with a vertical legend but the mis-alignment is not so noticeable, except the spacing between the labels is a bit out.

Attachments:
chart.avg.dimensions.php.png
chart.avg.dimensions.php.png [ 26.24 KiB | Viewed 12617 times ]

Author:  jean-damien [ Wed Feb 23, 2011 9:57 am ]
Post subject:  Re: Vertical alignment of legend text

You're right, this is because texts are written using the bottom left corner position. This is something I can fix using another positioning method, I'll dig into it.

Kind regards,
JD.

Author:  david.b [ Sun Mar 06, 2011 1:33 am ]
Post subject:  Re: Vertical alignment of legend text

Hi,
I have the same problem on abscisse labels (see March)
How to resolve this problem?
Thanks for your help

Attachments:
graph.PNG
graph.PNG [ 4.26 KiB | Viewed 12565 times ]

Author:  thorvaldur [ Wed Jul 18, 2012 1:54 pm ]
Post subject:  Re: Vertical alignment of legend text

Has this not been fixed yet? I'm having the same problem and it makes my legend look pretty bad.

Author:  spurgeon [ Tue Jul 31, 2012 6:40 pm ]
Post subject:  Re: Vertical alignment of legend text

We're also looking forward to a solution to this issue. Attached is an example of what the misaligned legend text looks like for us. We're using pChart 2.1.3.

Attachments:
2012-07-15.png
2012-07-15.png [ 21.82 KiB | Viewed 11786 times ]

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/