Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
ultrachart piechart pie colors
posted

I have a piechart that has 5 pies and the moment page loads every pie has a color. when the page refreshes or some event occurs the pie color changes...

for example: when the page loads

pie 1 - red, pie2-green, pie3- yellow, pie4- blue, pie5- orange

when page refreshes or when an event occurs

pie 1 - green, pie2-red, pie3- blue, pie4- orange, pie5- yellow

colors of the pies are interchanged.

  • 8421
    posted

    Hello Pranitha,

    Do you require any further assistance with this matter?

  • 145
    posted

    Hello Pranitha,

         Thank you for your post. The UltraChart PieChart assigns default colors to the slices. These colors change on every page refresh or occurrence of an event. To avoid this default behavior, you would need to set the colors explicitly for the slices. I have attached a sample that demonstrates this.

    Do let me know if this resolves your issue. I would be glad to assist you with any further questions.

     

    Sincerely,

    Nikila

    UltraChart-PieChart.zip