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

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

I'm able to make the values of bargraph visible false using:
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..

Ravi kamesh..
Updated 2-Aug-12 20:15pm

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.
prk@cp 3-Aug-12 2:13am
Thankuuuuuuuuuuuu very much....Works perfectly.. :)
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