Check this question: https://forum.mendix.com/link/space/ui-&-front-end/questions/113639
it seems to have a solution for coloring.
Hi Maxim,
Yes, you can configure the colors in your JSON Structure.
You should create your JSON Structure in a microflow.
Add this piece of Code to your JSON:
Add Color for Individual bar :
marker:{
color: ['rgba(204,204,204,1)', 'rgba(222,45,38,0.8)', 'rgba(204,204,204,1)', 'rgba(204,204,204,1)', 'rgba(204,204,204,1)']
}
Same Color for all the bars:
marker: {
color: 'rgb(0,0,0)'
}
You can Explore many options such as opacity on Plotly site.
Use Export mapping to create your json in Microflow.
Check the documentation : https://docs.mendix.com/appstore/widgets/charts-any-usage/
ATB!!