前台页面:(legend的字体及样式可以在属性窗口设置)<asp:Chart ID="ctStatistics" runat="server" Palette="Berry" Width="950px"><Series><asp:Series Name="Series1" IsVisibleInLegend="False" Legend="Legend1" ChartType="Column"YAxisType="Secondary"></asp:Series></Series><ChartAreas><asp:ChartArea Name="ChartArea1"><AxisY ArrowStyle="Triangle" TextOrientation="Horizontal" Title="数量" TitleAlignment="Far"></AxisY><AxisX ArrowStyle="Triangle" Title="时间" TitleAlignment="Far" IntervalAutoMode="VariableCount"TextOrientation="Horizontal"></AxisX></asp:ChartArea></ChartAreas><Legends><asp:Legend Name="Legend1" TitleAlignment="Near" LegendStyle="Column" InterlacedRows="False"></asp:Legend></Legends></asp:Chart>后台代码:Series serie = new Series("SalesAmount");serie.LabelForeColor = System.Drawing.Color.Red;serie.YValueMembers = "SalesAmount";serie.XValueMember = "Time";serie.ChartType = SeriesChartType.Column;serie.ChartArea = "ChartArea1";serie.IsValueShownAsLabel = true;serie.Legend = "Legend1";serie.LegendText = "销售额(万)";serie.LegendToolTip = "销售额(万)";ctStatistics.Series.Add(serie);ctStatistics.DataSource = dt;ctStatistics.DataBind();