Page 1 of 1

Grouping series names under more than one title

Posted: Sun Jan 08, 2012 9:27 pm
by 16558419
Hi,

TeeChart 2010 VCL (latest version) apply.

In my plot, I may have more than one group of series.

Is it possible to create the legend at run-time, for example, to display:

aaaaaaaaa
--- Series1 ---- Series2
bbbbbbbbb
---- Series2 ---- Series4


If this is not possible, how do I create more than one legend at run-time and to, for example, include Series1 and Series2 in the first legend with aaaaaaaaaa as the legend title and Series2 and Series3 in the second legend and bbbbbbbbb as the legend title?



Regards,

Nols Smit

Re: Grouping series names under more than one title

Posted: Mon Jan 09, 2012 2:48 pm
by yeray
Hi Nols,

Have you seen the TCustomLegendTool? It should be possible to achieve what you want with it.
Take a look at the example in the features demo at "What's New ?\Welcome\New Chart Tools\Custom Legend".

Re: Grouping series names under more than one title

Posted: Mon Jan 09, 2012 8:28 pm
by 16558419
Hi,

Thanks for the reply but I can't find the source code of the Custom Legend demo. On the Source Code tab if the demo program, it say:
Full source code of this demo and all the other TeeChart Pro examples can be found
inside TeeChart Pro Evaluation and Registered versions, downloadable from our web
site.

Once TeeChart Pro is installed, the path to this demo sources is stored at Windows
Registry.

Alternatively, click the Configure button to select the folder which contains this demo
sources.

I searched my installation folder and registry, but can't find the demo's source.


Regards,

Nols Smit

Re: Grouping series names under more than one title

Posted: Tue Jan 10, 2012 9:27 am
by yeray
Hi Nols,

The sources of the features demo program should be in your TeeChart installation path at "\Examples\Features".