C# 长标签似乎用“隐藏”"E;”MS图表饼图控件
我希望标签是完全可见的,如果必要的话,只需旋转饼图,这样文本就不会被“…”隐藏 这里有一个例子 有人知道如何解决这个问题,使它不会缩短吗 这是我的asp页面上的控件C# 长标签似乎用“隐藏”"E;”MS图表饼图控件,c#,asp.net,label,mschart,C#,Asp.net,Label,Mschart,我希望标签是完全可见的,如果必要的话,只需旋转饼图,这样文本就不会被“…”隐藏 这里有一个例子 有人知道如何解决这个问题,使它不会缩短吗 这是我的asp页面上的控件 <asp:CHART ID="Chart1" runat="server" BorderColor="181, 64, 1" BorderDashStyle="Solid" BorderWidth="2" Height="371px" ImageLocation="~/TempImages/ChartP
<asp:CHART ID="Chart1" runat="server"
BorderColor="181, 64, 1" BorderDashStyle="Solid" BorderWidth="2" Height="371px"
ImageLocation="~/TempImages/ChartPic_#SEQ(300,3)" ImageType="Png"
Palette="None" Width="693px"
BorderlineColor="">
<legends>
<asp:Legend BackColor="Transparent" Enabled="False"
Font="Trebuchet MS, 8.25pt, style=Bold" IsTextAutoFit="True" Name="Default">
</asp:Legend>
</legends>
<series>
<asp:Series ChartArea="ChartArea1" ChartType="Pie" Legend="Default"
Name="Series1"
CustomProperties="PieLabelStyle=Outside, PieDrawingStyle=Concave"
YValuesPerPoint="6" Font="Trebuchet MS, 8.25pt, style=Bold">
<SmartLabelStyle AllowOutsidePlotArea="No" MaxMovingDistance="100" />
</asp:Series>
</series>
<chartareas>
<asp:ChartArea BackColor="#DEEDF7" BackGradientStyle="TopBottom"
BackSecondaryColor="White" BorderColor="64, 64, 64, 64" BorderDashStyle="Solid"
Name="ChartArea1" ShadowColor="Transparent">
<Area3DStyle Enable3D="True" IsRightAngleAxes="False" />
</asp:ChartArea>
</chartareas>
</asp:CHART>
谢谢。这次我认为图表的宽度值应该更高 此链接可能会有所帮助:
嘿,Leniel:p,我给了它一个更高的宽度值,是的,这很有效。。。但我只有700px可供使用。还有别的办法吗?@Mike:你可以缩短标签。这是我能想到的唯一方法。在3d属性上设置一个新的旋转数会旋转图形并重新定位文本。如果我能找到一种方法来检查标签是否会缩短,我可以更改旋转编号,直到标签没有缩短为止