Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用饼图。我希望它在图表上显示百分比或值。我怎样才能做到这一点?
它是基本的 asp.net 图表控件
谢谢
做这个:
chart.Series["Default"].Label = "#PERCENT{P2}"; chart.Series["Default"].LegendText = "#VALX";
更多信息可在此处获得:
如何:在饼图上显示百分比值