Legend Checkboxes Not Clickable

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
tangone
Newbie
Newbie
Posts: 23
Joined: Tue Jun 26, 2007 12:00 am

Legend Checkboxes Not Clickable

Post by tangone » Mon Jan 21, 2008 7:14 am

Hi,

I have been struggling to get the Legend checkboxes to work. I am able to show the checkboxes by doing

webchart1.chart.legend.checkboxes = true

but after it showed up on the web page, I am not able to uncheck to hide the series.
What did I do wrong?
Are there other settings that need to be done in order to get it to work?
Is it related to the rendering method of the chart?

Appreciate your help.

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 Jan 21, 2008 2:46 pm

Hi tangone,

You should do something as the example I posted here.
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

tangone
Newbie
Newbie
Posts: 23
Joined: Tue Jun 26, 2007 12:00 am

Legend Checkboxes Not Clickable

Post by tangone » Tue Jan 22, 2008 2:47 am

Hi Narcís,

After following the post, the checkboxes still appear as not "clickable", meaning they appeared as "image" (checkbox with tick).
Nothing happened when click (definitely because cannot click on an "image").
What might still go wrong?

Thanks.

tangone
Newbie
Newbie
Posts: 23
Joined: Tue Jun 26, 2007 12:00 am

Legend Checkboxes Not Clickable

Post by tangone » Tue Jan 22, 2008 5:22 am

Hi Narcís,

I managed to find out what's wrong with the ClickLegend event not firing, it needs to have AutoPostBack set to True. But after it was set to True, I need to double click the checkbox to check/uncheck it because the WebChart1_ClickLegend event will fire twice!

Besides, I need to disable the AutoPostBack because if it was enable, when I click on the series to "drill down" (this is another feature of my tool), it will "drill down" twice.

Is there a way to solve these issues?

Thanks a lot.

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

Post by Narcís » Wed Jan 23, 2008 12:35 pm

Hi tangone,

Yes, this seems to be a bug (TF02012763) which I've added to our defect list to be fixed for future releases.
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