1
我正在使用MS Chart -Pie在餅圖[MS Chart]中顯示頁面名稱及其記錄狀態計數。MSChart XValue問題
頁面名稱有效 無效
XXX YYY 頁面
數爲20
問題:如果x值超過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>