homefeaturesDOCUMENTATIONpricingcontact us
technical documentationCATI documentationcookbookrobot

Drawing a data chart

Problem

You want to draw a chart from CallWeb data and insert it in a questionnaire.

Solution

Use the calc_graph function in a CALCUL question.

Discussion

CallWeb uses the Highcharts JavaScript system to produce data charts. The calc_graph function provides an easy way to build these charts.

calc_graph can be callwed in a CALCUL question or in an <execute></execute> substitution. The call works this way:

    calc_graph ( option => value, option => value ); [note the use of the "=>" operator to separate option names from their values, and of commas to separate the option-value pairs.]

Here is the list of available options; only one is mandatory.