Чтобы установить цвет для линейного графика:
this.chartControl1.Series[0].Style.Interior = new BrushInfo(GradientStyle.Vertical, Color.Red, Color.Orange);
Вот ссылка на справку -
http://www.syncfusion.com/support/kb/83/How-do-I-set-the-Interior-colors-for-the-chart-series-data-points
Если вы хотите, чтобы отдельные соединительные линии были разного цвета, вам нужно обработать событие ChartSeries.PrepareStyle, как показано ниже:
this.chartControl1.Series[0].PrepareStyle += new ChartPrepareStyleInfoHandler(series_PrepareStyle);</p>
<p>void series_PrepareStyle(object sender, ChartPrepareStyleInfoEventArgs args)
{
//Specifying different Colors for data points using Prepare style event
ChartSeries series = sender as ChartSeries;
if (series != null)
{
if (this.chartControl1.Series[0].Type.ToString() == "Line")
{
if (args.Index == 0)
args.Style.Interior = new Syncfusion.Drawing.BrushInfo(Color.Red);
else if (args.Index == 1)
args.Style.Interior = new Syncfusion.Drawing.BrushInfo(Color.Green);
else if (args.Index == 2)
args.Style.Interior = new Syncfusion.Drawing.BrushInfo(Color.Blue);
else if (args.Index == 3)
args.Style.Interior = new Syncfusion.Drawing.BrushInfo(Color.Yellow);
else if (args.Index == 4)
http://samples.syncfusion.com/sfwinsamples82/Chart.Windows/Chart%20Types/Line%20Charts/Sample.aspx?args=1
С уважением,
Jay