Page 1 of 1

Show legend with 2 columns and 3 rows.

Posted: Tue Mar 29, 2016 10:03 am
by 9526439
Hi Steema Support,
Kindly suggest how to show series in legend with 2 column and 3 rows.
Currently it is showing like figure 1. But we want to show legend like figure 2.
(Figure: 1):-
Legend.png
figure1
Legend.png (1.52 KiB) Viewed 11357 times
The legend has 2 columns and 3 rows like below Figure 2.
(Figure: 2):-
Legend2.png
Figure2
Legend2.png (3.31 KiB) Viewed 11350 times
NOTE: The size and rows/columns of legend will not change when change the size of Tee chart.

Thanks & Regards
Plano Research corporation

Re: Show legend with 2 columns and 3 rows.

Posted: Wed Mar 30, 2016 10:41 am
by Christopher
amol wrote: Kindly suggest how to show series in legend with 2 column and 3 rows.
I have just added a feature request (first for VCL, which will then be ported to .NET) for Row and Column properties for Legend: id=1483

Until this request is implemented you can draw your own legend using TeeChart's AfterDraw() event.

Re: Show legend with 2 columns and 3 rows.

Posted: Wed Mar 30, 2016 11:29 am
by 9526439
Hi Steema,

Thanks for your reply.

Please suggest how to draw our own legend using TeeChart's AfterDraw() event. So kindly give any demo for the same.

Thanks in advance.

Thanks
PlanoResearch

Re: Show legend with 2 columns and 3 rows.

Posted: Wed Mar 30, 2016 11:43 am
by 9526439
Hi steema,

we are using version of Tchart shown in attached image.
11.png
version name
11.png (76.23 KiB) Viewed 11341 times

Thanks,

Re: Show legend with 2 columns and 3 rows.

Posted: Wed Mar 30, 2016 1:44 pm
by Christopher
amol wrote: Please suggest how to draw our own legend using TeeChart's AfterDraw() event. So kindly give any demo for the same.
There's a simple example of how to do this in the second code snippet in Marc's post here.