I am creating graphincs with the Any Chart Web widget, and I want the title inside the chart to be dynamic and show the value of an mendix variable. So, is there any way to make a dynamic title inside the widget that changes when the variable from an entity on the domain model changes?
You can use a microflow to pass your dynamic JSON structure.
First, I put the chart widget inside a data view that calls a microflow
The microflow creates a JSON structure using a string attribute in a temporary object:
Finally, the string is used as the source attribute for the layout of the chart: