我需要帮助,我正在C夏普的.NET4.0 WinForms中使用MSChart,现在当我绘制我的图表时,注释到处都是。

我真正喜欢的是这个(之后我手动移动了标注来制作这个屏幕截图)

所以我想知道的是,有没有一种方法可以确保所有的标注注解绝对地垂直于各自的数据点锚点的顶部?我不希望标注向左或向右移动...
谢谢大家。
发布于 2012-06-26 01:38:21
MSChart使用SmartLabel技术来显示标签。
您可以更改此属性
Chart1.Series["Series1"].SmartLabels.MovingDirection =
LabelAlignment.Bottom | LabelAlignment.Top; 您可以查看这些链接
http://www.codeproject.com/Articles/24644/What-can-SmartLabels-Technology-do-for-me http://support2.dundas.com/OnlineDocumentation/WebChart2005/UsingSmartLabels.html http://msdn.microsoft.com/en-us/library/system.web.ui.datavisualization.charting.smartlabelstyle.aspx
https://stackoverflow.com/questions/11178744
复制相似问题