Greetings,
I'm trying to show two informations on a chart: product names and their quantity. The code below doesn't work, and an error message appears.


The name of the product is located inside an object, and I tried to access this using "produto.nome" as shows the picture above.
Below you can see the data structure with the object I want to access:

I believe there's nothing wrong with the query, since it works properly if I remove the complex object:


How can I show complex objects on a chart?
Am I doing something wrong?
I'm sending the code for further details.
Best regards,
Attachment:
Index_fafeffc0.rar