-
Calculated variable
chart_data
in variant sends Results array link to variant:https://studio.formsort.com/client/erictest/flow/custom-question/variant/main/variables/calculated_inline
-
Labels and data from
chart_data
are sent as:
Result: [
{ labels: 0, data: 300 },
{ labels: 1, data: 300 },
{ labels: 2, data: 283 },
{ labels: 3, data: 266 },
{ labels: 4, data: 250 },
{ labels: 5, data: 233 },
{ labels: 6, data: 216 },
{ labels: 7, data: 200 }
];
- iframe question with
answerLabel
parameter sendschart_data
label (NOT the templatedchart_data
variable) e.g.https://iframe_address.com?answerLabel=chart_data