How to change colors of specific data points in a "series" of a chart?

c#, charts

Solution

I would suggest adding an extra series to your chart and changing the color set on that.

Problem

I don't know if can make it clear otherwise, So here is the code:- ``` Series series2 = null; for (int i = 0; i < 4; i++) { series2 = chart2.Series.Add(subjectnames[i]); } for (int i = 0; i < 4; i++) { series2.Points.Add(attemptper[i]); series2.Points.Add(correctper[i]); } ``` Now, I just want to display "attemptper" bars in different color than "correctper" bars. By default they are appearing in greyish-blue color. How do I get it done? The charts appear all in bluish color. I want them to appear in different colors. I think I haven't added the data correctly to the chart for this to achieve?

Original source