Previous Report Builder: Pie Chart

Add a Pie Chart widget to your customized report to show respondent's results at a glance. This is a great way of displaying data in proportions and representing a rough estimate of percentage.


   Professional         
   Enterprise         
   ReportR     
   DistributR     

Graphical representations allow you to display a large data set in a visual way. Here's an example of how it could look in your personalized report:

PDF Pie chart -example

This guide will teach you:

  1. Setting up the widget
  2. Widget logic rules

1. Setting up the widget

1.1 Chart data

1.2 Basic settings

1.3 Widget placement & Size

PDF: Pie Chart- chart items

1.1 Chart data

Click Add Data item. For each section, there are 3 parts to specify.

PDF: Pie Chart- widget configuration

  1. Data Label - give a name to the section of the graph. This name will be shown in the key under the graph.
  2. Data Value - you can either type in a number or click Variables to access the drop-down menu of variables that you can use. Variables take the data entered during the survey and display it in the graph.
  3. Data Color - choose the section color by clicking on the color selector. Take care to choose distinctly different colors for each section so the graph will be easy to read.

Click Add data item until you have added all the sections you want to include on the graph.


tip
TIP


To make advanced design changes to the graph, you can add custom CSS.




note
NOTE


If you change your formula data, you must collect a new response in order to preview your graph.



1.2 Basic settings

Start by giving your graph a widget name and title.


Now you have to customize a few options so you can get the graph looking just the way you want.

PDF: Pie Chart- extra options

  • Show data point numbers - toggle to display the percentage value for each section of the graph. When it's turned off, the percentages will not be shown on the graph itself, but will only appear on the legend underneath.
  • Show chart as donut - turn this on and your graph will lose it's middle and look more like a donut! An example is shown just below.
  • Show chart in 3D - here's how your graph will look like if you turn on 3D.
  • Show absolute values - toggle to add the actual data values rather than only proportions of the graph.
  • Set number of decimal places - here you can specify how many decimal places you want to be displayed for percentages and for absolute values if you have chosen to show these. Note that if you choose more than 2 decimal places, the graph is going to be smaller. Make sure to increase the graph width so data labels are not cut off. Read on to learn how to do this.

Here is an example of a donut and a pie chart in 3D:

PDF: Pie Chart-styles

1.3 Widget placement & Size

Choose how you would like to align your graph. You can align it to one side and have explanatory text or another widget on the other side, or center it.

PDF: Pie Chart- widget placement and size

  • Left - widget will be aligned to the left side of the page, in a column layout
  • Center - widget will be presented centered across the entire page from the left to the right (full width)
  • Right - widget will be aligned to the right side of the page, in a column layout

If you would like a widget to appear side-by-side the graph, make sure to set the widget aligned on one side of the page, and the graph on the other. For example, choose to align the text widget to the left, and align the graph to the right.


Use the arrows or enter a value for the graph height and width. If you choose to place it on either the left or the right side of the page, the graph will be automatically resized. You can also change the background to be either white or transparent.

PDF: Pie Chart- chart dimensions

warning
WARNING


The max-width of one page is 810px. To leave some room for spacing the recommended  Width value is around 600px.




Click the Update preview button to see how the widget you've created looks like

PDF: Pie Chart- update preview

Take a look below at some different possibilities:

PDF: Pie Chart- example PDF

Now if you want to show a graph to all respondents, you're done! Just make sure to click save PDF and continue adding widgets. 

2. Widget logic rules

You can create logic rules so that widgets are only displayed when certain criteria are met. If you want to show a general widget that is visualized every time a PDF report is generated, you can choose not to include a widget logic rule. Learn more about Widget Logic

PDF: Pie Chart- add rules

Once you've saved your logic rules, don't forget to save PDF and you're ready to add more widgets!

What's next?

  • Conditional Rendering is a way of displaying elements based on a condition. It allows you to create simple conditions inside a widget and reduce the number of widgets and rules. With Conditional Rendering, you can render different UI markups based on certain conditions.
  • The custom results by respondent table is a dynamic type of widget that will add records automatically to the table once you have set it up. You can set the maximum number of records to show and set the table to sort records from low to high or high to low.
  • The PDF text widget allows you to write and display your content in your report. You can use it to give further information about questions, give feedback or explain a particular answer. This is an absolutely essential building block of your PDF report.
S
Support is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.