简体   繁体   English

ASP.NET图表值标签

[英]ASP.NET Charting Value Labels

I'm using the ASP.NET Charting Toolkit ( http://code.msdn.microsoft.com/mschart ) and am wondering if there is a way to turn the labeling of the stacked chart to on. 我正在使用ASP.NET图表工具包( http://code.msdn.microsoft.com/mschart ),想知道是否有一种方法可以打开堆叠图表的标签。 As a default, when I plot my data using the stacked chart, the values for each of the series do not show. 默认情况下,当我使用堆积图绘制数据时,不会显示每个系列的值。 I am hoping there is a property (that I don't know of) which can allow me to view the values for each of the series when the chart is rendered. 我希望有一个属性(我不知道),可以让我在绘制图表时查看每个系列的值。

Thanks! 谢谢!

I've found the property that needs to be modified: 我发现需要修改的属性:

in asp:Series you set a property called IsValueShownAsLabel to true. 在asp:Series中,将名为IsValueShownAsLabel的属性设置为true。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM