void ShowChart2() { var data = new ArrayList(); data.Add(new { Product = "衬衫", Sale = 5, Inc = 20 }); data.Add(new { Product = "羊毛衫", Sale = 50, Inc = 60 }); data.Add(new { Product = "裤子", Sale = 15, Inc = 80 }); data.Add(new { Product = "高跟鞋", Sale = 25, Inc = 120 }); data.Add(new { Product = "袜子", Sale = 20, Inc = 300 }); var series = new List <Serie>(); series.Add(new Serie { Name = "销量", DataField = "Sale", Type = SerieType.Bar }); series.Add(new Serie { Name = "增速", DataField = "Inc", Type = SerieType.Line }); var yAxis = new List <YAxis>(); yAxis.Add(new YAxis() { Name = "销量" }); yAxis.Add(new YAxis() { Name = "增速" }); Chart2.Show(data, "Product", series, "销售情况", yAxis); }