Prgramically checking/unchecking items in a legend

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
realsol
Newbie
Newbie
Posts: 70
Joined: Mon Feb 27, 2017 12:00 am

Prgramically checking/unchecking items in a legend

Post by realsol » Wed Mar 22, 2017 6:29 pm

Is this possible? If so, can you share some code on how to do this?

Thanks.

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

Re: Prgramically checking/unchecking items in a legend

Post by Yeray » Thu Mar 23, 2017 11:30 am

Hello,

Have you tried changing the Active property?

Code: Select all

  Series1.Active:=False;
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

realsol
Newbie
Newbie
Posts: 70
Joined: Mon Feb 27, 2017 12:00 am

Re: Prgramically checking/unchecking items in a legend

Post by realsol » Thu Mar 23, 2017 6:06 pm

I guess I was just going way off the farm on this one. Had no Idea just to make the Series.Active to false. Thanks.

Post Reply