Create beautiful Chartsjs charts from Gravity Forms submission data or CSV data with a simple shortcode.
Use all your past data to visualize advanced statistics in a few clics. You NEED to install at least one add-on in order to use shortcodes.
Requires Gravity Forms v2.3+
All code has been moved to GitHub now : MaxiCharts on Github
Add-ons
You NEED to install at least one of them:
- Maxicharts Gravity Forms source add-on : chart all Gravity Forms submission data
- MaxiCharts CSV add-on : in order to graph CSV files
Optional add-ons:
- MaxiCharts Gravity View add-on : in order to filter entries on Gravity View “approved” ones
- MaxiCharts Query Builder add-on : Real time filter entries on graph using Query Builder
- MaxiCharts Extended Colors add-on “Extended Colors”) : Extended colors sets
Usage
Use the post visual editor brand new button to add as many shortcodes as you want in a few clics !
You need to install the core MaxiCharts plugin in any case, then if you use, for example Gravity Forms add-on, the shortcode processed is:
where all parameters are optional:
- gf_form_id : expects the form ID in Gravity Forms (defaults to first form : id=1)
- type : is the type of graph, at the moment only line,pie,doughnut,bar,horizontalBar available (defaults to pie)
- include : expects the field ids to include (example :
include="1,3,4") - exclude : expects the field ids to exlude (example :
exclude="2,4,6")
see all parameters on demonstration site
Examples
Display all fields of form #1 as pie charts with custom chartjs options for titles:
Displays fields 4, 7 and 18 of gravity form #3 with bar charts. Default colors used.
Displays field 2 of gravity form #2 with default pie chart. Use red color set, with not randomization.
Displays all but fields 4,7,18 of gravity form #8 with horizontalBar type charts. Use blue color set, randomized.
More examples here : >> Demonstration site <<

评论0