In this article
The Chart item provides simple reporting of results on a specified question, and is ideal for use where you need "instant" feedback to the respondent. Open text list, Single, Multi, Numeric list, Ranking and Grid questions are supported.
Note: A Chart item can show a maximum of 50 categories. That is, you cannot base a chart on a question that has more than 50 answer alternatives.
Also, you cannot link from a chart to a question placed inside a loop.
When you create a Poll, a chart item is automatically included on the second page of the Poll survey. For other surveys you can add a chart item in the normal manner. Click on the Chart item in the Survey pane to open the node details page for the chart.
Figure 1 - The Chart item’s details page
Note: If your survey uses a responsive layout, the Chart Engine and Chart Type options are not available.
The fields and options are:
- Chart engine - the application used to generate the chart. The Chart item can currently render two chart engines:
- HTML - (default) only bar charts can be rendered.
- Google Charts - horizontal and vertical bar, pie and line charts can be rendered.
Important
If you select the Google Charts engine your data will be sent to the Google processor, where the chart will be created and returned. Forsta has no control over the Google Charts functionality, and can therefore not guarantee that the engine will be available at any particular time, nor that it will function as expected.
- Chart type - if you select Google Chart as the chart engine then you can select the type of chart that is created.
- Chart Source - the source of the data from which the chart is to be created. Click the down-arrow and select the question you wish to use from the list of Open text list, Single, Multi, Numeric list, Ranking and Grid questions in the survey.
Note: Only Single and Grid question types are supported if your project is a responsive rendered survey.
- Use question text - check to use the text from the question in the chart. All the text fields on the chart item will then be disabled, and when the survey is generated the texts are copied over from the data source. Default is checked when creating a new poll, unchecked for a chart in a standard survey.
The Title and Text fields allow you to add text to the chart. A set of fields will be presented for each language selected.
Note that the Chart item has an additional button in the toolbar - Recalculate All. Use this button to recalculate the chart data, for example when answers are added, removed or changed, or respondents are uploaded. The button will only be enabled after the survey is launched with the chart node present.