我在我的一个VB.NET
项目中使用了MSChart Control
。我已决定将数据显示在饼图中,如下表所示。MSChart:饼图标签重叠问题
但标签上正在相互重叠的摆脱它,如下图所示我曾尝试“智能标签”属性。
Chart1.Series("Default").SmartLabelStyle.Enabled = True
Chart1.Series("Default").SmartLabelStyle.AllowOutsidePlotArea = LabelOutsidePlotAreaStyle.No
Chart1.Series("Default").SmartLabelStyle.CalloutLineAnchorCapStyle = LineAnchorCapStyle.None
Chart1.Series("Default").SmartLabelStyle.CalloutLineColor = Color.Red
Chart1.Series("Default").SmartLabelStyle.CalloutLineWidth = 1
Chart1.Series("Default").SmartLabelStyle.CalloutStyle = LabelCalloutStyle.None
但并不能帮助我 ...虽然它让我看到输出按下面的屏幕截图。
哪些是我必须用来摆脱它的属性? ......
编辑:
如果我不设置自定义属性PieLabelStyle=Outside
它没有任何区别,你可以看到在屏幕下面shote。
请帮助我..
http://stackoverflow.com/questions/2147930/hide-labels-in-pie-charts-ms-chart-for-net/19782813#19782813 – Raheel