Introduction:
In this article you will learn how to create and add dynamically generated charts into your decision tree.
LeadsHook has the following charts available:
- Line
- Bar
- Radar
- Polar Area
- List others are coming soon
Step by Step Instructions:
Step 1: Create number and calculated custom fields that we are going to use in the graph.
- Custom fields are variables that store information. When the users supply data it is saved in these variables.
- Once we have saved this data, we can create a chart that displays the values saved in these variables.
Step 2: Assign the custom fields to the questions.
Step 3: Create the chart.
- Click Admin > Charts > Add

Step 4: Fill out the chart details
Line Graph
Here is an example of a line graph:

Line graph data set up:
- Add title of the chart
- Select ‘Line‘ for the type
- Add labels
- For the Data set:
– Add data title >data label>choose custom fields for the data


Bar Graph
Here is an example of a bar graph:

Bar graph data set up:
- Add title of the chart
- Select ‘Bar‘ for the type
- Add labels
- For the Data set:
– Add data title >data label>choose custom fields for the data


Radar Graph
Here is an example of a radar graph:

Radar graph data set up:
- Add title of the chart
- Select ‘Radar‘ for the type
- Add labels
- For the Data set:
– Add data title >data label>choose custom fields for the data


Polar Area Graph
Here is an example of a Polar Area graph:

Polar Area graph data set up:
- Add title of the chart
- Select ‘Polararea‘ for the type
- Add labels
- For the Data set:
– Add data title >data label>choose custom fields for the data


You may also configure the appearance of the chart by clicking “Configuration”
Read this article on how to troubleshoot your charts: https://www.leadshook.com/help/how-to-troubleshoot-your-charts/