- Posts: 155
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can I use pchart to display grahp in the END MESSAGE?
- mrli999
- Topic Author
- Offline
- Premium Member
Less
More
10 years 2 months ago #103027
by mrli999
Can I use pchart to display grahp in the END MESSAGE? was created by mrli999
Can I use pchart to display grahp in the END MESSAGE?
If yes, what should I do? Fox example, if I get five scores(a,b,c,d,e) through Equation. I just want to draw a bar graph to show that five socres. The serial labels can be score one, score two, score three, score four,score five.
Thanks.
If yes, what should I do? Fox example, if I get five scores(a,b,c,d,e) through Equation. I just want to draw a bar graph to show that five socres. The serial labels can be score one, score two, score three, score four,score five.
Thanks.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13910
- Thank you received: 2548
10 years 2 months ago - 10 years 2 months ago #103043
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I use pchart to display grahp in the END MESSAGE?
Hi,
Not directly, pchart is a PHP system.
But you can
- Use a JS system ( www.jqplot.com/ or www.highcharts.com/ or www.jscharts.com/ or ...)
- Do a plugin using 'afterSurveyComplete ' event
Denis
Not directly, pchart is a PHP system.
But you can
- Use a JS system ( www.jqplot.com/ or www.highcharts.com/ or www.jscharts.com/ or ...)
- Do a plugin using 'afterSurveyComplete ' event
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 10 years 2 months ago by DenisChenu.
The following user(s) said Thank You: mrli999
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
10 years 2 months ago #103045
by Ben_V
or... the very light and easy to use jscharts.com
.
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Can I use pchart to display grahp in the END MESSAGE?
Use a JS system ( www.jqplot.com/ or www.highcharts.com/ or ...)
or... the very light and easy to use jscharts.com
.
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: mrli999
The topic has been locked.
- mrli999
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 155
- Thank you received: 2
10 years 2 months ago #103052
by mrli999
thank you very much. I download jschart from it's website. Another question, which folder shoud I put jschart to?
Replied by mrli999 on topic Can I use pchart to display grahp in the END MESSAGE?
DenisChenu wrote: Hi,
Not directly, pchart is a PHP system.
But you can
- Use a JS system ( www.jqplot.com/ or www.highcharts.com/ or www.jscharts.com/ or ...)
- Do a plugin using 'afterSurveyComplete ' event
Denis
thank you very much. I download jschart from it's website. Another question, which folder shoud I put jschart to?
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
10 years 2 months ago #103058
by Ben_V
your instalation "scripts" folder is probably the best place
Nevertheless, you can add your js file(s) wherever you want either in your "upload" directory or template folder
.
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Can I use pchart to display grahp in the END MESSAGE?
...which folder shoud I put jschart to?
your instalation "scripts" folder is probably the best place
Nevertheless, you can add your js file(s) wherever you want either in your "upload" directory or template folder
.
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: mrli999
The topic has been locked.
- mrli999
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 155
- Thank you received: 2
10 years 2 months ago #103063
by mrli999
thank you very much!Success.
Replied by mrli999 on topic Can I use pchart to display grahp in the END MESSAGE?
Ben_V wrote:
...which folder shoud I put jschart to?
your instalation "scripts" folder is probably the best place
Nevertheless, you can add your js file(s) wherever you want either in your "upload" directory or template folder
.
thank you very much!Success.
The topic has been locked.
- mrli999
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 155
- Thank you received: 2
10 years 2 months ago #103065
by mrli999
sometimes when using java in the end message, limesurvey will add a unnessary span to the value. then I can't get the correct graph. please see my post www.limesurvey.org/en/forum/can-i-do-thi...-the-end-message-box
would you please let me know how to resolve this question? thank again.
Replied by mrli999 on topic Can I use pchart to display grahp in the END MESSAGE?
Ben_V wrote:
...which folder shoud I put jschart to?
your instalation "scripts" folder is probably the best place
Nevertheless, you can add your js file(s) wherever you want either in your "upload" directory or template folder
.
sometimes when using java in the end message, limesurvey will add a unnessary span to the value. then I can't get the correct graph. please see my post www.limesurvey.org/en/forum/can-i-do-thi...-the-end-message-box
would you please let me know how to resolve this question? thank again.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13910
- Thank you received: 2548
10 years 2 months ago #103108
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I use pchart to display grahp in the END MESSAGE?
Hi,
You can (it's an hack)
Do:
Because if you use js: you only have to have a god js var.
Denis
You can (it's an hack)
Do:
Code:
<div style="display:none> <div id="mycode">{MYCODE}</mycode> ... </div> <script> $(function() { // Fill the js var var mycode=$("#mycode").text(); } </script>
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- ordogz
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
8 years 10 months ago #120475
by ordogz
Replied by ordogz on topic Can I use pchart to display grahp in the END MESSAGE?
Hi!
It's possible to insert charts to show the scores on the results page, after the user clicking the sumbit button ? Thank you
It's possible to insert charts to show the scores on the results page, after the user clicking the sumbit button ? Thank you
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
8 years 10 months ago #120477
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Can I use pchart to display grahp in the END MESSAGE?
"end message" is included on the "results page" ( {COMPLETED} placeholder replacement in completed.pstpl file )
As well you can add some javascript into assessments rules or assessment.pstpl file if assessment module is turned on for your survey...
So your question is already answered in this discussion (#103043)
As well you can add some javascript into assessments rules or assessment.pstpl file if assessment module is turned on for your survey...
So your question is already answered in this discussion (#103043)
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
- jcbonillapardo
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 9 months ago #137644
by jcbonillapardo
Replied by jcbonillapardo on topic Can I use pchart to display grahp in the END MESSAGE?
Saludos Ben_V.
Deseo personalizar los gráficos estadísticos o crear nuevos con los resultados de una de mis encuestas y leí tu mensaje. Me puedes dar una ayuda de como hacerlo?
Gracias,
JULIO CESAR
Deseo personalizar los gráficos estadísticos o crear nuevos con los resultados de una de mis encuestas y leí tu mensaje. Me puedes dar una ayuda de como hacerlo?
Gracias,
JULIO CESAR
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
7 years 9 months ago #137648
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Can I use pchart to display grahp in the END MESSAGE?
Please do not use Spanish in the English forum responding to an English thread.
Por favor, no usar Español en una pregunta en Ingles en el foro en Ingles.
Por favor, no usar Español en una pregunta en Ingles en el foro en Ingles.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: DenisChenu
The topic has been locked.