New on the blog: why AI belongs in the feed →

Gravity Forms Chart Examples: 25 Recipes

25 charts built from Gravity Forms entries with the GravityOps Charts [gravityops_chart] shortcode. Every chart on this page is live, drawn from three demo forms filled with invented entries. Copy a shortcode, swap in your own form and field IDs, and paste it into a Shortcode block.

Rules every recipe follows

  • One form per chart, set with form_id.
  • Pie and donut charts need section. Bar charts need x_axis. Line and area charts need a numeric field in y_axis and one Date field in x_axis, grouped by group_by day, week or month.
  • One field in section or x_axis counts entries per value. Several fields give one slice or bar per field, combined with aggregate sum, avg or count.
  • Fields are referenced by ID. Entry properties such as the submission date aren’t accepted as fields.
  • start_date and end_date filter on the submission date.
  • Charts are private by default. access="public" shows them to logged-out visitors. Results are cached for five minutes unless you change cache_ttl.

The demo forms

  • Event registrations (form 85): 2 Event, 3 Ticket type, 4 Registration date, 5 Amount paid, 6 Attended, 7 How did you hear about us? (checkboxes), 8 Session rating.
  • Orders (form 86): 2 Product, 3 Region, 4 Order date, 5 Order total, 6 Channel, 7 Status, 8 to 11 revenue per product, 12 Shipping.
  • Customer survey (form 87): 1 Score 0 to 10, 2 Plan, 3 Support rating, 4 Survey date, 6 First response time in hours, 8 Feature used most.

Events and registrations

1. Registrations by event

One choice field in x_axis: each bar counts the entries that picked that event.

Registrations by event

[gravityops_chart form_id="85" chart_type="bar" x_axis="2" title="Registrations by event" height="320" access="public"]

2. Ticket mix

A pie of the ticket types people chose.

Ticket mix

[gravityops_chart form_id="85" chart_type="pie" section="3" title="Ticket mix" height="320" access="public"]

3. Attendance, with renamed slices

A donut of the Attended field. labels renames the slices in choice order, so Yes and No read as Attended and No-show.

Attendance

[gravityops_chart form_id="85" chart_type="donut" section="6" labels="Attended,No-show" title="Attendance" height="320" access="public"]

4. How people heard about the event

A checkbox field counts every ticked option, so the bars can add up to more than the number of entries. Horizontal bars keep long labels readable.

How people heard about us

[gravityops_chart form_id="85" chart_type="horizontal_bar" x_axis="7" title="How people heard about us" height="320" access="public"]

5. Registrations per month

aggregate="count" counts the entries that have a number in the y_axis field, so pick a field every entry fills in.

Registrations per month

[gravityops_chart form_id="85" chart_type="line" x_axis="4" y_axis="5" aggregate="count" group_by="month" title="Registrations per month" y_label="Registrations" height="320" access="public"]

6. Ticket revenue per month

The same field summed instead of counted, drawn as an area.

Ticket revenue per month

[gravityops_chart form_id="85" chart_type="area" x_axis="4" y_axis="5" aggregate="sum" group_by="month" title="Ticket revenue per month" height="320" access="public"]

7. Average session rating per month

aggregate="avg" on a 1 to 5 rating field.

Average session rating

[gravityops_chart form_id="85" chart_type="line" x_axis="4" y_axis="8" aggregate="avg" group_by="month" title="Average session rating" height="320" access="public"]

8. Registrations per week

group_by="week" buckets by ISO week.

Registrations per week

[gravityops_chart form_id="85" chart_type="line" x_axis="4" y_axis="5" aggregate="count" group_by="week" title="Registrations per week" height="320" access="public"]

9. Ticket mix for one quarter

start_date and end_date limit the chart to entries submitted between those dates.

Ticket mix, July to September

[gravityops_chart form_id="85" chart_type="pie" section="3" start_date="2026-07-01" end_date="2026-09-30" title="Ticket mix, July to September" height="320" access="public"]

Orders and revenue

10. Orders by product

Counts orders per product choice.

Orders by product

[gravityops_chart form_id="86" chart_type="bar" x_axis="2" title="Orders by product" height="320" access="public"]

11. Revenue by product

Several number fields in x_axis give one bar per field, each the sum of that field. Charts doesn’t split one amount field by a choice field, so give each product its own number field (a calculation field works) and chart those.

Revenue by product

[gravityops_chart form_id="86" chart_type="bar" x_axis="8,9,10,11" aggregate="sum" title="Revenue by product" height="320" access="public"]

12. Revenue share by product

The same four fields in section: each slice is one field’s total.

Revenue share by product

[gravityops_chart form_id="86" chart_type="pie" section="8,9,10,11" aggregate="sum" title="Revenue share by product" height="320" access="public"]

13. Revenue per month

Order totals summed by month of the Order date field.

Revenue per month

[gravityops_chart form_id="86" chart_type="area" x_axis="4" y_axis="5" aggregate="sum" group_by="month" title="Revenue per month" height="320" access="public"]

14. Average order value per month

Swap sum for avg.

Average order value

[gravityops_chart form_id="86" chart_type="line" x_axis="4" y_axis="5" aggregate="avg" group_by="month" title="Average order value" height="320" access="public"]

15. Revenue and shipping per month

Two fields in y_axis draw two lines on the same chart.

Revenue and shipping

[gravityops_chart form_id="86" chart_type="line" x_axis="4" y_axis="5,12" aggregate="sum" group_by="month" title="Revenue and shipping" height="320" access="public"]

16. Orders by region

A donut of a select field.

Orders by region

[gravityops_chart form_id="86" chart_type="donut" section="3" title="Orders by region" height="320" access="public"]

17. Sales channels

A pie of a radio field.

Sales channels

[gravityops_chart form_id="86" chart_type="pie" section="6" title="Sales channels" height="320" access="public"]

18. Order status

Paid, pending and refunded orders as horizontal bars.

Order status

[gravityops_chart form_id="86" chart_type="horizontal_bar" x_axis="7" title="Order status" height="280" access="public"]

19. Daily orders in one month

group_by="day" with a date range keeps a daily chart short.

Orders per day, October

[gravityops_chart form_id="86" chart_type="line" x_axis="4" y_axis="5" aggregate="count" group_by="day" start_date="2026-10-01" end_date="2026-10-31" title="Orders per day, October" height="320" access="public"]

20. Average order and average shipping

Two number fields side by side with aggregate="avg".

Average order and shipping

[gravityops_chart form_id="86" chart_type="bar" x_axis="5,12" aggregate="avg" title="Average order and shipping" y_label="Average" height="320" access="public"]

Surveys and feedback

21. Score distribution (0 to 10)

How many people gave each score. Using a select field with choices 0 to 10 keeps every score on the axis, even ones nobody picked.

Score distribution

[gravityops_chart form_id="87" chart_type="bar" x_axis="1" title="Score distribution" x_label="Score" height="320" access="public"]

22. Support rating

A donut of a four-point rating.

How was our support?

[gravityops_chart form_id="87" chart_type="donut" section="3" title="How was our support?" height="320" access="public"]

23. Respondents by plan

Who answered the survey.

Respondents by plan

[gravityops_chart form_id="87" chart_type="pie" section="2" title="Respondents by plan" height="320" access="public"]

24. Average score per month

Choice values that are numbers can be averaged too.

Average score per month

[gravityops_chart form_id="87" chart_type="line" x_axis="4" y_axis="1" aggregate="avg" group_by="month" title="Average score per month" height="320" access="public"]

25. First response time trend

Average hours to first response, by month.

First response time

[gravityops_chart form_id="87" chart_type="area" x_axis="4" y_axis="6" aggregate="avg" group_by="month" title="First response time" y_label="Hours" height="320" access="public"]

Build your own

The free shortcode builder writes [gravityops_chart] for you and flags missing attributes. GravityOps Charts draws every chart straight from your entries, with no feed to set up first.