日期:2014-05-17 浏览次数:21699 次
Series S1 = new Series("历史数量", ViewType.Line);
S1.ArgumentScaleType = ScaleType.DateTime;
S1.ValueScaleType = ScaleType.Numerical;
((LineSeriesView)S1.View).LineMarkerOptions.Kind = MarkerKind.Circle;
((LineSeriesView)S1.View).LineStyle.DashStyle = DashStyle.Solid;
S1.DataSource = dt.DefaultView;
S1.ArgumentDataMember = "C_Time";
S1.ValueDataMembers.AddRange(new string[] { "TotleCount" });
//S1.View = new FrmChart();
chartControlCar.Series.Add(S1);