Hi Damiano Purin,
In Microflow you are Returning the Camera List, So in Line Chart you can only use that entity you cannot use the associated objects. Even if you retrieve the objects you cannot use them because you can only pass one entity at a time for the line chart Or create another non-persistable entity with x-axis and y-axis and store the details from call rest in this entity and pass this object list to Chart.
Try to use Any Chart it will have more options.
Thankyou.
Hi Ganesh,
thank you for the reply.
I have to tell you that the fact that in charts you can't use associations it's not that true.
You see, in my case i couldn't use the associated object because my model was relating images and cameras in a one to many relation.
For some reason mendix counts that as kind of one way relation, so i can't acces the values of the images via the camera.
In fact, if i just attach a (theoratically wrong) relation like this:
I can now acces the data of the immages (immagine) from the lineChart:
I don't understand if this makes sense to you, because to me this seems like BS.
Also i did not understand the thing of the "chart that have more options", what do you mean by that, could you explain a bit better that topic?
Thank you!
Hi Damiano Purin,
In mendix we can access association objects only from the Owner entity That's why you cannot access it in the original association. but you can access in the second because now camera is the owner association.
There is a widget called 'anychart' in mendix in that you will have more options.
Can you explain what you want to display in the chart so, i can understand better.
Thankyou.