Dim Chart As WinForm.Chart Dim Series As WinForm.ChartSeries Chart= e.Form.Controls("Chart1") Chart.DataSource = "质量目标" Chart.SeriesList.Clear() Series = Chart.SeriesList.Add() Series.X.DataField = "年份" Series.Y.DataField = "合格率" Series.DataLabelText = "{#YVAL}" Chart.AxisY.AnnoFormatString = "##.#%"