Hi,
I have a Ultradatachart and ultradoughnut chart (Version 18.2) as follows.
The line color in the chart is being assigned randomly.
I would like to use different set of colors.
For example: Default colors being assigned in the chart shown here are sky blue, orange, violet, green.
I would like to use the following set of colors : Green, Red, Yellow.
Could someone help on this ?
That would be great if someone attach sample to help.
Thanks
Hello Thangachan Kuriyan,
As to line colors, you can use Brush property in LineSeries.
LineSeries lineSeries1 = new LineSeries(); lineSeries1.Brush = Color.Green;
Regarding doughnut chart, use Brushes property in RingSeries.
RingSeries ringSeries = new RingSeries; ringSeries.Brushes = { Color.Green, Color.Red, Color.Yellow };
I hope those will help.