Page 1 of 1

Legend Alignment

Posted: Thu Jul 30, 2015 7:46 pm
by 16673658
I place my legend at the bottom of my chart. As I add more series and thus more custom axes, my legend gets resized. But I want it to display as many columns at possible, so as to be aligned with the right border of the chart panel. What is the legend property that will allow me to do this?
I've attached an image:
Legend.jpg
Image of Legend not aligned correctly
Legend.jpg (48.19 KiB) Viewed 9480 times

Re: Legend Alignment

Posted: Fri Jul 31, 2015 7:54 am
by narcis
Hi nbp,

You can either try using Legend.NumCols property or the OnGetLegendRect event as explained in tutorial 5. TeeChart Pro ActiveX tutorials can be found at the Docs folder included with TeeChart's installation or at http://www.teechart.net/docs/.

If the problem persists please attach a simple example project we can run "as-is" to reproduce the problem here.

Thanks in advance.