Horizontal alignment of legend

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
NickH
Newbie
Newbie
Posts: 23
Joined: Mon Mar 08, 2004 5:00 am

Horizontal alignment of legend

Post by NickH » Thu Jan 18, 2018 3:41 am

Hi, I was wondering if it was possible to horizontally align the legend (in particular a center alignment). I am aware of vertical alignment however could not find any detail regarding the possibility of horizontal alignment.

Thanks

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Horizontal alignment of legend

Post by Yeray » Thu Jan 18, 2018 9:13 am

Hello,

Have you seen the legend example in the online demos?
You can align the legend to the left, right, top or bottom. Is this what you need?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

NickH
Newbie
Newbie
Posts: 23
Joined: Mon Mar 08, 2004 5:00 am

Re: Horizontal alignment of legend

Post by NickH » Fri Jan 19, 2018 4:19 am

Yeray wrote:Hello,

Have you seen the legend example in the online demos?
You can align the legend to the left, right, top or bottom. Is this what you need?
Hi, I am familiar with this functionality. The problem is once i've set the position to bottom, the legend isn't horizontally aligned to the center as shown in the example below:

Image

https://imgur.com/a/DqTC0

(This image also demonstrates the DateTime issue that occurs occasionally with 4+ series I've posted previously but not of priority as of now).

NickH
Newbie
Newbie
Posts: 23
Joined: Mon Mar 08, 2004 5:00 am

Re: Horizontal alignment of legend

Post by NickH » Tue Jan 23, 2018 12:06 am

NickH wrote:
Yeray wrote:Hello,

Have you seen the legend example in the online demos?
You can align the legend to the left, right, top or bottom. Is this what you need?
Hi, I am familiar with this functionality. The problem is once i've set the position to bottom, the legend isn't horizontally aligned to the center as shown in the example below:

Image

https://imgur.com/a/DqTC0

(This image also demonstrates the DateTime issue that occurs occasionally with 4+ series I've posted previously but not of priority as of now).
Upon further inspection it appears the issue of horizontal alignment only occurs with the particular charts with multiple series which also has the issue of TDateTime exporting incorrectly. I'll do some further investigation regarding both TDateTime and horizontal alignment of legend and come back

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Horizontal alignment of legend

Post by Yeray » Tue Jan 23, 2018 10:31 am

Hello,

I could reproduce the legend "alignment" (it's actually the boundaries) problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1974

The problem with the axis labels looks similar to this one. Could you please confirm it?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply