Hi!
I want to add a chart to my dashboard to show the number of users enrolled in one activity, depending on their nationality, but I cannot handle the setting up of the ChartJS plugin. This is what I have:
- A data type “User” with a field “Nationality” (the user selects it in his profile using a dropdown menu).
- A data type Activity with a field “People enrolled” (it stores the Users that enrolls in an Activity) and “People erased” (it stores the Users that cancel their attendance to an Activity).
In the plugin, I have to enter these 4 fields:
- Type of data: I guess it’s “User”
- Data source: I guess I have to “do a research for Activities”, but it stays in red as an error.
- Value expression: I don’t know what to write here to load the amount of Users.
- Label expression: I don’t know what to write here to load the 2 kinds of Activities.
Any ideas, please? Maybe the problem is that this plugin has to be connected directly to a JSON file only, or I can connect it dynamically to my data stored in Bubble database? Maybe there´s another plugin to do this?
Thanks a lot!