- Posts: 12
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Graph linked to equation
- Giordo
- Topic Author
- Offline
- New Member
Less
More
3 years 4 months ago - 3 years 4 months ago #207524
by Giordo
Graph linked to equation was created by Giordo
Hello, everyone.
I would like to build, for the survey I am working on, a graph linked to a limesurvey equation to show as the final output of the survey showing the respondent the score obtained in the questionnaire. The idea would be to build a speedometer from 0 to 199 (maximum value of the equation), with a "stick" indicating the exact value obtained by the respondent.
From what I've seen so far it seems that this can't be done in the final message of the survey (correct me if I'm wrong), but it seems it's possible to do it on a landing page by building the graph in php; what we don't get is how to transfer the value obtained by the respondent, calculated through the equation question, from the survey to this landing page.
Can anyone help us?
I would like to build, for the survey I am working on, a graph linked to a limesurvey equation to show as the final output of the survey showing the respondent the score obtained in the questionnaire. The idea would be to build a speedometer from 0 to 199 (maximum value of the equation), with a "stick" indicating the exact value obtained by the respondent.
From what I've seen so far it seems that this can't be done in the final message of the survey (correct me if I'm wrong), but it seems it's possible to do it on a landing page by building the graph in php; what we don't get is how to transfer the value obtained by the respondent, calculated through the equation question, from the survey to this landing page.
Can anyone help us?
Last edit: 3 years 4 months ago by Giordo.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
3 years 4 months ago #207526
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Graph linked to equation
In the end-url that links to your page, add the equation code as parameter
.../mypage.php?p={eqCode}
Joffm
.../mypage.php?p={eqCode}
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
3 years 4 months ago - 3 years 4 months ago #207528
by tpartner
For example:
- developers.google.com/chart/interactive/docs/gallery/gauge
- www.highcharts.com/demo/gauge-speedometer
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Graph linked to equation
Why not, there are many JavaScript charting libraries that could be used for this.From what I've seen so far it seems that this can't be done in the final message of the survey
For example:
- developers.google.com/chart/interactive/docs/gallery/gauge
- www.highcharts.com/demo/gauge-speedometer
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 4 months ago by tpartner.
The topic has been locked.