Use Borderwidth and BorderStyle .
Series set1 = new Series(); for (int i = 0; i < 10; i++) { set1.Points.addY(x); } set1.BorderWidth = 10; set1.BorderDashStyle = ChartDashStyle.Solid; set1.ChartType = SeriesChartType.FastLine; set1.Color = Color.Green; chart1.Series.Add(set1); chart1.Invalidate();
Borderline seems like an odd keyword for line width, but if you think that there are many types of charts, and not just a fast line, that makes sense.
user295190
source share