How to refresh PIECHART on the basis of reference selector?

0
Hello All, We have one use case:   I’m working on a Mendix app where I have a dropdown bound to a non-persistent helper entity. Based on the selected value from the dropdown, a microflow returns a filtered list of data for a pie chart. The microflow is working correctly and returns the expected filtered data. However, when I change the dropdown selection, the pie chart does not refresh or update. If We have to manually refresh the page, then correct data is display in the chart, but we don't want to hard refresh page.   Thanks & Regards Reemali Patil
asked
2 answers
0

Hi Reemali,

Whenever you are trying to filter data on the basis of value selection in dropdown at the end of this microflow just take a change object & simply refresh tha data.

Still not working then make a nanoflow -> call your filder data microflow inside this nanoflow & in the nanoflow you can see refresh entity activity try to use this & call this nanoflow on the dropdown value selection.

answered
0

Hi Reemali,

 

As you are already using a helper object, add the same object in the data source microflow for the piechart, then you can call a microflow or nanoflow on change of your reference selector and at the end of the flow use a change activity to refresh the helper object. This should trigger the data source microflow of piechart again.

 

Hope this helps!

 

Thanks

 

answered