You can set the color in the chart properties
https://docs.mendix.com/refguide/charts-configuration/#33-pie-chart