Change background color of pie chart

0
Hi how to change the background color of the pie chart? I want to have it also in the purple color 
asked
2 answers
1

Hi Nico,

 

Open the edit pane of the pie chart and switch to the advanced tab. 

In the Mod section, select the “Advanced” option.

 

In the Layout options field, enter:
{

“paper_bgcolor”: “<the_color_you_want>”

}

 

If it doesn’t work, you can also try:

{

“plot_bgcolor”: “<the_color_you_want>”

}

 

Make sure you select the "Advanced" option.
 

To see other ways, you can have a look at this question: https://forum.mendix.com/link/space/widgets/questions/92564
 

answered
0

If you're asking for the background of the parts of the pie chart,

 

Switch to the "Chart Properties" tab. You can add custom colors from the Colors section. These colors are added to the chart by sorting attribute.

 

answered