Determine colors in a pie chart?

How can I determine colors in a pie chart?

Hi Patricia,
you can set the colors of a Piechart in the json of the element under config-plotOptions-pie-colors. Use an array of Hex Color Codes there e.g. ["#FF5733", "#FF33EC", "#33FF46"]. Colors are chosen in the order they are written there and if there are not enough it starts over.

1 Like