Hi,
I am plotting multiple scatterLine series. By default igDataChart is rendering multiple series with different shades.
series.ScatterLine("Series", Model.Data)
.XAxis("xAxis").YAxis("yAxis") .MarkerBrush("Blue") .XMemberPath(data => data.XVal) .YMemberPath(data => data.YVal);
I tried changing MarkerBrush, but that doesn't work.
Is there any way I can specify the color to use for plotting series ??
Hi, sanjaysutar
You have to use the Brush() method of the chart MVC helper in order to change the color of the scatter line series.
In general, our data visualization controls use Brush() for the fill color of series and Outline() for border color if applicable (for example, for area type series). Correspondingly, MarkerBrush() is used for marker fill color and MarkerOutline() for marker border color if applicable.
In your example, if you enable markers with MarkerType() you will be able to display markers for each data point and control marker color with MarkerBrush().
Cheers, Lazar