Why do I have to feed chart data by microflow?

1
Hi community,   I just implemented a Mendix chart object based on the following description. https://docs.mendix.com/howto/extensibility/visualize-data-using-the-chartsjs-module I got it running but dont understand why I need the microflow (as described under point 3.4.5) since I connect the chart to the data Entity in the end.  Can anyone elaborate or point me to a tutorial pointing that out?
asked
2 answers
2

The ChartJS widget requires to be placed in a context object (for example, a dataview). The NewChartWrapper in this case is just a dummy object to make sure that you can use the widget.

In normal situations this context object could be something that you use to constrain the data in your graph. In that case the datasource microflow that you create in step 3.6 would have that context object as an input parameter and you would use it to retrieve different data. 

answered
0

Understood. Thank you!

answered