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:
this.chartControl1.Series.Style.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.PatternStyle.None,System.Drawing.Color.Red,System.Drawing.Color.Red);
Please provide feedback or comments
Did not find the solution Contact Support