The pie chart page keeps loading and does not display.

0
Hi everyone, I created a non-persistent entity (with two attributes: label (string) and value (integer)), and then used a microflow as the data source, but the page with the pie chart keeps loading and won't open. I tested it by binding this microflow as the data source in a data grid, and the data displayed normally. May I ask where the issue lies? Screenshots of the main microflow, sub-microflow, and pie chart configuration are provided below.     SUB_Candidate_CountApplied:(The other sub-microflows are the same as this one, only with different enumeration values modified.)
asked
2 answers
0

Hi Karlbin, 

Some steps that can help to debug the issue:

- Check if you have errors on the console (both on the browser developer tools and in Mendix Studio Pro)

- Enabling developer mode on the Pie Chart can also help you to inspect/try the chart's configurations to make sure they work

 

Let me know if this helps,

João

answered
0

Hi Karlbin

In the DS microflow , the chart object is being refreshed which would load the context again and calls the DS microflow again.  

Like this, the context would be refreshed in an infinite loop and the pi chart loads again and again. 

Remove the refresh activity for chart object inside DS microflow.

If the refresh activity is unavoidable, then check for other options to load the chart. (Not by microflow). 

You can observe this behaviour by adding a break point in your DS microflow.

 

Regards

Ajay

answered