As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
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