Click here to Skip to main content
15,879,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I've an application using charts like pie and bargraphs..

I'm able to make the values of bargraph visible false using:
C#
str= ds1.Tables[0].Columns[i].ToString();
Chart1.Series[str].IsValueShownAsLabel = false;

But the same is not applicable to Pie chart..The values are shown on the Pie charts.

Now I wanna make those values visible false for a Pie Chart...No google access in my company.. :(

May I know the property which does that job..?

Thanks in advance..

Regards,
Ravi kamesh..
Posted
Updated 2-Aug-12 19:15pm
v2

1 solution

Try this one
Chart1.Series[str]["PieLabelStyle"] = "Disabled";

For multiple series you have to get the point and then apply the same for points values in for or foreach loop.
 
Share this answer
 
Comments
prk@cp 3-Aug-12 2:13am    
Thankuuuuuuuuuuuu very much....Works perfectly.. :)
Prabhakaran Soundarapandian 3-Aug-12 4:27am    
Please rate the solution....

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