Holiday Notice – Support Unavailable on April 18 and April 21
We just wanted to let you know that our support team will be offline on Friday, April 18th (Good Friday) and Monday, April 21st (Easter Monday) due to the holidays.
We'll be back on Tuesday, ready to assist you!
In the meantime, if you need any help, feel free to:
-
Use the support widget in the bottom right corner on our websites (Amelia and wpDataTables) — our latest AI-powered assistant is there 24/7 to help with basic and intermediate questions,
-
Browse our detailed documentation (Amelia, wpDataTables)
-
Explore helpful articles,
-
Or check out our YouTube channels for video guides!
Amelia YouTube Channel
wpDataTables YouTube Channel
Thank you for your understanding, and we wish you a wonderful holiday weekend!
Hi,
I need assistance in creating a wpDataChart to visualize how many times each radio button selection has been repeated across form entries in wpDataTables. I want to achieve the following:
- Group the entries by the radio button selection (e.g., "Milan", "Barcelona", etc.).
- Count the frequency of each unique radio button selection (e.g., how many times "Milan" appears, how many times "Barcelona" appears).
- Create a wpDataChart that accurately reflects this data, ideally in a bar chart or pie chart format, displaying the count of each selection.
Example of the Data:Here is a sample of the data I have in the table:
I would like to generate a table where each radio button selection (e.g., "Milan", "Barcelona", etc.) is grouped, and the count of how many times each selection appears is displayed next to it. For example:
Milan ---- 4
Barcelona ---- 3
Inter ---- 2
ManUtd ---- 2
My Questions:Hello,
Yes, i believe we have a useful example to show you of a similar use-case.
This is an example where a user needed to make a Survey Form, and each user would have multiple choices,
which gets saved by the Form,
they wanted to make a summed up Chart that shows how many times each choice will repeat.
-
We solve this by adding a hidden number field to the Gravity Form,
that will always have a predefined value of 1 to prepopulate every row of data and it will be used as a "counter" for how many times each choice will repeat.
Here is my basic example, i have a multi-select field in a Gravity Form,
and we add a hidden number field :
Then I made a few choices by the visitors, on the page with the Form to populate some data.
This is the linked table :
Now, we will make a chart , and we enable "Chart Grouping" , so that all values that have the same value will group up to add up how many times they repeat for the chart.
Here is an example of a pie chart from the data,
and here is an example with a Bar chart
Let me know if that works for your use-case.
Thank you
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables