Pie within a Pie Chart

Posted by: hpadmasola1 on 8 September 2017, 2:17 pm EST

  • Posted 8 September 2017, 2:17 pm EST

    Hi,

      I have about 12 pies within a pie chart. The same 4 or 5 colors repeat for all the pies. Can I get a different color for each pie ?

    Thanks

    Harish

  • Replied 8 September 2017, 2:17 pm EST

    Harish,


    By default, each pie will use the same color scheme (i.e. same colors will be repeated in each pie).  If you want a different coloring then you can assigned your own colors to each pie slice using the PieFills collection in the PieSeries class...


        series.PieFills[j] = new SolidFill(color);

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels