Page 1 of 1

Legend Checkboxes Not Clickable

Posted: Mon Jan 21, 2008 7:14 am
by 13045688
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.

Posted: Mon Jan 21, 2008 2:46 pm
by narcis
Hi tangone,

You should do something as the example I posted here.

Legend Checkboxes Not Clickable

Posted: Tue Jan 22, 2008 2:47 am
by 13045688
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.

Legend Checkboxes Not Clickable

Posted: Tue Jan 22, 2008 5:22 am
by 13045688
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.

Posted: Wed Jan 23, 2008 12:35 pm
by narcis
Hi tangone,

Yes, this seems to be a bug (TF02012763) which I've added to our defect list to be fixed for future releases.