ChartData FLDQJC_Data = new ChartData();
FLDQJC_Data.ItemNames = "A B C D E F G H I J K ";
DataSeries ds1 = new DataSeries();
ds1.Label ="A1";
ds1.ValuesSource = new Double[] {1, 2, 3, 4, 5, 2, 3, 4, 5, 1, 1};
FLDQJC_Data.Children.Add(ds1);
DataSeries ds2 = new DataSeries();
ds2.Label ="A2";
ds2.ValuesSource = new Double[] {1, 2, 3, 4, 6, 2, 3, 4, 5, 1, 1};
FLDQJC_Data.Children.Add(ds2);
c1chart.Data = FLDQJC_Data; |