Hello,
I'm using VS2010 C#.
Can someone explain how to Check and/or Un-Check a checkbox in the legend?
Thanks!
Legend Checkbox
Re: Legend Checkbox
Hello tirby,
If you want add checkboxes in the Legend, you only need use next line of code:
Using previous code you can Check and Un-Check legendCheckBoxes automatically.
I hope will helps.
Thanks,
If you want add checkboxes in the Legend, you only need use next line of code:
Code: Select all
tChart1.Legend.CheckBoxes = true;
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Legend Checkbox
Hi Sandra,
No, the check boxes already exsist, I need to check and/or un-check them.
The code below is a way to describe my goal, but doesn't work, or is not supported.
tChart1.Legend.CheckBox(1).Checked = true;
-- or --
tChart1.Legend.CheckBox(1).Checked = false;
How can I accomplish this?
No, the check boxes already exsist, I need to check and/or un-check them.
The code below is a way to describe my goal, but doesn't work, or is not supported.
tChart1.Legend.CheckBox(1).Checked = true;
-- or --
tChart1.Legend.CheckBox(1).Checked = false;
How can I accomplish this?
Re: Legend Checkbox
Hello tirby,
I recommend take a look in this here where there are some examples that you can use to achieve as you want.
Thanks,
I recommend take a look in this here where there are some examples that you can use to achieve as you want.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Legend Checkbox
Sandra,
Thanks for all your help.
Here is the line of code I needed.
tChart1.Series[3].Active = false;
Thanks!
Thanks for all your help.
Here is the line of code I needed.
tChart1.Series[3].Active = false;
Thanks!
Re: Legend Checkbox
Hello tirby,
I am glad that the solution help.
Thanks,
I am glad that the solution help.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |