Home Forums WinForms controls Xceed Chart for WinForms Just get one color on a pie chart – help

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #18697 |

    Hi,

    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?

    Thanks!

    Imported from legacy forums. Posted by fgauer (had 2198 views)

    User (Old forums)
    Member
    Post count: 23064

    …ack…

    …answered my own question – i just set:

    pie.Appearance.FillMode = AppearanceFillMode.DataPoints

    Imported from legacy forums. Posted by fgauer (had 3100 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.