asp.net charts - show numbers
I use a Pie chart. I want it to display the percent or the values on the ch开发者_如何学运维art. How can I do this?
It is basic asp.net charting controls
Thanks
Do this:
chart.Series["Default"].Label = "#PERCENT{P2}";
chart.Series["Default"].LegendText = "#VALX";
More info is available here:
How to: Display Percentage Values on a Pie Chart
精彩评论