Want to click on Series in Legend to de/activate it

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

Want to click on Series in Legend to de/activate it

Post by walter0316 » Tue Mar 29, 2016 9:19 am

Hi
Is it possible to click on the SeriesTitle in the Legend to activate or deactivate it in the chart?
I use FMX on Android. On VCL there is a checkbox before the SeriesTitle in the Legend to do this.
But in FMX I miss this.
thanks
walter

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

Re: Want to click on Series in Legend to de/activate it

Post by Narcís » Tue Mar 29, 2016 2:12 pm

Hi Walter,

Have you tried using the line below?

Code: Select all

  Chart1.Legend.CheckBoxes:=True;
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

walter0316
Newbie
Newbie
Posts: 37
Joined: Mon Jul 13, 2015 12:00 am

Re: Want to click on Series in Legend to de/activate it

Post by walter0316 » Tue Mar 29, 2016 2:15 pm

thanks a lot! yes that is it.

Post Reply