只要把这个userControl添加到你的website里就可以用了。示例代码:
chart1.dataSource = 此处为一个Table。
chart1.Title = "IHC Notebook Products /VPM PSG Team Level of Availablity %(LOS)";
chart1.Caption_Y = "LOA";
chart1.Caption_X = "Week";
chart1.MajorUnit = 0.1;
chart1.NumberFormat = "0.00%";
List<string> lineColor = new List<string>();
lineColor.Add("red");
lineColor.Add("yellow");
lineColor.Add("blue");
chart1.LineColor = lineColor;
特别说明:要显示几条线就在LIST<STRING>里加几条颜色名。