Charting in mendix - is there any method to refresh the ui of the plot.ly charts in mendix?

0
hello mendix community,i have a dashboard component as a snippet inside tab container, there's several chart that consume the data source from a microflows. the user wanted to add new feature that the charts component can perform filtering. as i implemeted the filter on top of the dashboard component, microflow behind the apply button doesn't want to updates the charts. so, is there's any method to refresh the charts in mendix?
asked
1 answers
0

Hi Fahmi Affan


In your Apply button microflow, at the end add a Refresh Object activity on the object that holds the filter parameters. Then set the data source microflow to take that object as parameter Mendix will re-run it on object refresh.


Note: This works if your chart data source microflow accepts the filter object as parameter.


I hope this helps

answered