Dynamic colors on the Mendix Counter Widget

It is possible to set static colors in the counter widget of Mendix. Does anyone know if it is also possible to adjust these colors dynamically?
1 answers

Hi Pascal,


You can set the colors using the following properties,

To make this dynamic you would have to customize this widget a little like changing these property of the above from ype=”string” to type=”attribute” in the Counter.xml and updating the Counter.js accordingly. Hope this helps, if you are not able to customize it reach out to the dev or raise a request in Git