mendixlabs / ChartJS

A Mendix widget that wraps the ChartJS library.
https://appstore.home.mendix.com/link/app/1712/Mendix/ChartJS-Widget
Apache License 2.0
4 stars 28 forks source link

Doughnut chart error when empty #97

Closed AgnesR83 closed 7 years ago

AgnesR83 commented 7 years ago

When Doughnut chart has no data set items it will result in a error on the browser console and this will prevent the rest of my page from loading.

mendix.sys.Data.get: xpath, guid|guids and microflow arguments are undefined (anonymous) @ mxui.js?636226036139502877:7206 error @ mxui.js?636226036139502877:7230 get @ mxui.js?636226036139502877:30932 (anonymous) @ DoughnutChart.js:73 (anonymous) @ mxui.js?636226036139502877:4640 (anonymous) @ Core.js:606 (anonymous) @ mxui.js?636226036139502877:4640

JelteMX commented 7 years ago

This issue is related to #89. Currently writing a fix to check whether or not a microflow returns objects

JelteMX commented 7 years ago

Fixed in 3.6.0