Page 1 of 1

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

Posted: Tue Mar 29, 2016 9:19 am
by 16575033
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

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

Posted: Tue Mar 29, 2016 2:12 pm
by narcis
Hi Walter,

Have you tried using the line below?

Code: Select all

  Chart1.Legend.CheckBoxes:=True;

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

Posted: Tue Mar 29, 2016 2:15 pm
by 16575033
thanks a lot! yes that is it.