MSChart XValue 问题
我正在使用 MS Chart -Pie 在饼图 [MS Chart] 中显示页面名称及其记录状态计数。
页面名称有效 无效
xxx 12 30
yyy 17 20
页数为 20。
问题:如果 XValue 大于 9,则表示所有记录都未显示。仅显示少量随机记录。
代码:
<asp:Chart ID="chrtMaster" runat="server" Height="656px" Width="807px" BackColor="WhiteSmoke"
BackGradientStyle="TopBottom" BackSecondaryColor="White">
<Legends>
<asp:Legend BackColor="WhiteSmoke" Name="Legend1">
</asp:Legend>
</Legends>
<Series>
<asp:Series Name="Valid" Legend="Legend1" XValueMember="MasterTable" YValueMembers="Valid"
YValuesPerPoint="1" YValueType="Int32" CustomProperties="PointWidth=1.5" Color="220, 65, 140, 240">
</asp:Series>
<asp:Series Name="Pending" Legend="Legend1" XValueMember="MasterTable" YValueMembers="Pending"
YValuesPerPoint="1" YValueType="Int32" CustomProperties="PointWidth=1.5" Color="220, 252, 180, 65">
</asp:Series>
<asp:Series Name="Disabled" Legend="Legend1" XValueMember="MasterTable" YValueMembers="Disabled"
YValuesPerPoint="1" YValueType="Int32" CustomProperties="PointWidth=1.5" Color="220, 224, 64, 10">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1" BackColor="WhiteSmoke" BackSecondaryColor="White"
BorderColor="64, 64, 64, 64" ShadowColor="Transparent">
<Area3DStyle LightStyle="Realistic" WallWidth="0" />
</asp:ChartArea>
</ChartAreas>
</asp:Chart>
I am using MS Chart -Pie to display Page name and its record status count in Pie Chart [MS Chart].
Page Name Valid InValid
xxx 12 30
yyy 17 20
Number of pages is 20.
Problem: If the XValue is more than 9 means all the records are not getting displayed. Only few random records are displaying.
Code:
<asp:Chart ID="chrtMaster" runat="server" Height="656px" Width="807px" BackColor="WhiteSmoke"
BackGradientStyle="TopBottom" BackSecondaryColor="White">
<Legends>
<asp:Legend BackColor="WhiteSmoke" Name="Legend1">
</asp:Legend>
</Legends>
<Series>
<asp:Series Name="Valid" Legend="Legend1" XValueMember="MasterTable" YValueMembers="Valid"
YValuesPerPoint="1" YValueType="Int32" CustomProperties="PointWidth=1.5" Color="220, 65, 140, 240">
</asp:Series>
<asp:Series Name="Pending" Legend="Legend1" XValueMember="MasterTable" YValueMembers="Pending"
YValuesPerPoint="1" YValueType="Int32" CustomProperties="PointWidth=1.5" Color="220, 252, 180, 65">
</asp:Series>
<asp:Series Name="Disabled" Legend="Legend1" XValueMember="MasterTable" YValueMembers="Disabled"
YValuesPerPoint="1" YValueType="Int32" CustomProperties="PointWidth=1.5" Color="220, 224, 64, 10">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1" BackColor="WhiteSmoke" BackSecondaryColor="White"
BorderColor="64, 64, 64, 64" ShadowColor="Transparent">
<Area3DStyle LightStyle="Realistic" WallWidth="0" />
</asp:ChartArea>
</ChartAreas>
</asp:Chart>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我得到了答案。
I got the answer.