开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜