I got a simple code from this site:
http://www.davidhayden.com/blog/dave/archive/2008/12/02/PieChartASPNETWebsitesUsingNewMicrosoftChartControls.aspx
Now, I want to remove all the labels in the pie chart i.e. "a", "b","c","d".
I tried to do this:
Chart1.Series[0].IsValueShownAsLabel = false;
But it doesnt work..please help. I am Stuck
In VB.Net that works fine:
Chart1.Series(0).IsVisibleInLegend = False
I know you don't search for VB.Net. But maybe that helps VB.net users.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With