我的asp.net页面中有一个图表控件。我希望在绑定图表控件时跳过所有0的方法。
<asp:Chart ID="chtBiometricsProgress" runat="server" Height="650px" Width="1000px">
<Series>
<asp:Series Name="Series1" BorderWidth="5" ChartType="Line" LegendText="Weight" YValueMembers="Weight">
</asp:Series>
<asp:Series Name="Series2" BorderWidth="5" ChartType="Line" LegendText="Waist" YValueMembers="Waist">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="false">
<AxisX Interval="1" Title="Biometrics Progress">
</AxisX>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend >
</asp:Legend>
</Legends>
</asp:Chart>