HI,
You can try to Use Any chart widget from Mendix . Create a NP Entity A and add a String Attribute of length Unlimited. Now in your DS microflow Create Entity A and build your Json Structure of the chart you wanted to display in microflow and map the Json Structure to the Attribute in Entity A.
Hope this Helps!!
I will add my own answer as well.
Turns out I found something in the documentation page “Create a Dynamic Series Chart” that was easy to overlook, but there if scrutinized deeply (come on Mendix, we need a bit more “worded” clarity in the page sometimes :-)).
Section 3.1 shows one must set up two entities, Value and Series.
Later on, section 4.2.7 asks us to set a link to the Series in the Dynamic series tab. The words say one needs to pick the Series entity, which is possible in the selection. However, and this is what I overlooked, in the picture underneath it, you can see that the Series entity needs to be approached via a reference from the Value entity!
That was the trick one can easily miss. This will work for most all chart types (except where dynamic series are not supported). When you do this, the error mentioned in my question above also disappears.
Now what I am still curious about is how I set the context for the Value entity in the microflow. Do I select any first Value from the database, or do I create just an empty one? (so far I do the “select the first one” approach). Why would an empty one also just work? how about if I want just a sub-set (yes, yes, the xPath and microflow option, I am aware, but more details and examples in the documentation sure would save a lot of time, Mendix people again?)