I manged to solve this issue.
Use case : I call a some microflow on button click and microflow used to get the data in Json format. This data is saved as an attribute of some entity – say ‘data’ attribute of ‘ChartJson’ entity.
Any chart (Bar chart in my case) has source attribute = ‘data’ attribute of ‘ChartJson’ entity. Each time this attribute is updated, chart will get updated on UI.
Here issue was if ‘data’ is blank i.e. empty for some condition, and saved as blank in entity, I used ot see an error at the place of chart that There is some error in widget, please update the widget. In browser console error was being shown as ‘i.map is not a function TypeError: i.map is not a function ’.
Most Important: If for some condition, there is no data available e.g. future date period, data attribute should be saved as ‘’ as mentioned in step #4 above.
We just release version 1.2.1 of the Any Chart in the app store. https://appstore.home.mendix.com/link/app/106517/
We have fixes an issue similar to the one you describe. It will now ignore the rendering when the data is not array.
Please let me know if this solves your problem.