- Posts: 6
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Two google graphs in one question group?
- Marieke123
- Topic Author
- Offline
- New Member
Less
More
6 years 8 months ago #156586
by Marieke123
Two google graphs in one question group? was created by Marieke123
I want to display two different google graphs in one question group (data is based on respondent's answers)
I have now used two different questions to program the two graphs. However, the code of the second graph replaces the code of the first graph and only the second graph is shown.
Is there anyway to overcome this and to display both graphs in one question group?
I have now used two different questions to program the two graphs. However, the code of the second graph replaces the code of the first graph and only the second graph is shown.
Is there anyway to overcome this and to display both graphs in one question group?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10630
- Thank you received: 3696
6 years 8 months ago #156599
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Two google graphs in one question group?
Some indication of the code you used and where you put it would be helpful.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Marieke123
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
6 years 8 months ago - 6 years 8 months ago #156603
by Marieke123
Replied by Marieke123 on topic Two google graphs in one question group?
Below you can find the code I used for two questions in one question group (I also want to use the expression manager to insert weights from previous questions, but I can also recall the problem without using them). I have also attached the limesurvey-group file (Dutch language). I have also tried this solution, but it did not work (or perhaps I coded something wrong).
stackoverflow.com/questions/9888920/how-...arts-on-the-one-page
Question 1:
<script type="text/javascript" src=" www.google.com/jsapi ">
Question 1:
<script type="text/javascript" src=" www.google.com/jsapi ">