how to show few series in legend with out removing/deselecti

TeeChart for ActiveX, COM and ASP
Post Reply
daryl
Newbie
Newbie
Posts: 91
Joined: Thu Sep 09, 2004 4:00 am
Location: UK
Contact:

how to show few series in legend with out removing/deselecti

Post by daryl » Mon Sep 17, 2007 3:26 pm

i have a,b,c d as 4 series and need to show only a ,c legend titles in legend .
should not remove/deselect othere series b,d from the chart ...


need help asap

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Sep 17, 2007 4:06 pm

Hi daryl,

You could try using ShowInLegend property like this:

Code: Select all

    TChart1.Series(0).ShowInLegend = True
    TChart1.Series(1).ShowInLegend = False
    TChart1.Series(2).ShowInLegend = True
    TChart1.Series(3).ShowInLegend = False
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply