Grouping series names under more than one title

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Nols Smit
Newbie
Newbie
Posts: 4
Joined: Thu Jan 20, 2011 12:00 am

Grouping series names under more than one title

Post by Nols Smit » Sun Jan 08, 2012 9:27 pm

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

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

Re: Grouping series names under more than one title

Post by Yeray » Mon Jan 09, 2012 2:48 pm

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".
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

Nols Smit
Newbie
Newbie
Posts: 4
Joined: Thu Jan 20, 2011 12:00 am

Re: Grouping series names under more than one title

Post by Nols Smit » Mon Jan 09, 2012 8:28 pm

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

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

Re: Grouping series names under more than one title

Post by Yeray » Tue Jan 10, 2012 9:27 am

Hi Nols,

The sources of the features demo program should be in your TeeChart installation path at "\Examples\Features".
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