Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In chart control i want to show legend label but its also show series label also when i am not use series name it's take default name how to disable that


please share any idea
Posted
Comments
Ron Beyer 21-Jan-14 22:50pm    
What chart control are you using?
Christian Graus 21-Jan-14 22:57pm    
You did it to me AGAIN !!! :-)
Ron Beyer 21-Jan-14 23:05pm    
Hands are on FIRE :)
Christian Graus 21-Jan-14 23:08pm    
ROTFL !!!
Christian Graus 21-Jan-14 22:50pm    
None of the technologies you list, support charting. You're using a library of some sort. Tell us what it is, and show us code, if you want help.

1 solution

try following,


chart1.Series["Series1"].IsVisibleInLegend = false;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900