ChartJS widget - Chart not displaying.

0
Hi, I have created a chart using the ChartJS widget, however it does not display on the page when viewed. Would it be possible for someone to see if there's a problem with my microflows? Many thanks Microflows: https://modelshare.mendix.com/models/df92ab17-a432-4b8b-8c39-93345c5fffe8/chart https://modelshare.mendix.com/models/b5b79c05-45df-4690-8e6b-32a216529021/sub_chart (Sub-microflow) Domain Model: https://i.gyazo.com/d56973dba2553eeb51b414f678141aee.png Austin
asked
1 answers
2

Austin,

To make sure your data is created correctly, Can you create a page that displays the Chart object and all Dataset and Datapoint objects?  You'll need to have a Dataview and retrieve the Datasets and Datapoints via association (since the entitys are not persistable) using nested Listviews.

I am guessing that there is something going wrong in the microflow that creates the data - also, both Modelshares you included in your post pointed to the same microflow, so I couldn't see the Sub microflow.

Hope that helps,

Mike 

*** Edit ***

Austin,

I made a small test in a sandbox project I have.  You can download the MPK here:  http://www.filehosting.org/file/details/724022/DomJoint.mpk  Once you download it, open it using Modeler 7.10.  The home page is a ChartJS bar chart that is like the one you described.  You can take a look at the source microflow and maybe that will help you get yours working.

 

answered