Home › Forums › WinForms controls › Xceed Chart for WinForms › Just get one color on a pie chart – help
I’ve created a pie chart and made a pieseries. I’ve also successfully added date to the pieseries.
The problem is my pie chart displays all of the data and lables correctly, however all of the pie segments are red. It’s just one color.
On the ADDPIE method I have included different colors using the FILLEFFECT parameter.
(ex: pie.AddPie(ds.Tables(0).Rows(idx).Item(“TotalForecastCost”), 0, ds.Tables(0).Rows(idx).Item(“DepartmentDescription”), New Xceed.Chart.Standard.FillEffect(Color.Blue))
…but nothing works! Everytime is just get ONE BIG ‘OL RED PIECHART. What am I doing wrong?
Imported from legacy forums. Posted by fgauer (had 2198 views)
…answered my own question – i just set:
pie.Appearance.FillMode = AppearanceFillMode.DataPoints
Imported from legacy forums. Posted by fgauer (had 3100 views)