Category / Section
How do I change the color of the Chart legend items for LineChart type?
1 min read
The color for the legend lines are based on the forecolor of the interior for the series. Adding the following code will change the color of the lines:
C#
this.chartControl1.Series[1].Style.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.PatternStyle.None,System.Drawing.Color.Red,System.Drawing.Color.Red);