- Posts: 13648
- Thank you received: 2491
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Plot a single result on an XY chart
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
7 years 1 month ago #151061
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.
Plot a single result on an XY chart was created by DenisChenu
Not included LimeSurvey core, and i really think we never include something like this.
Solutions :
1. Make it via CSS only ? Must be possible
2. Make it via a js graph system
3. Make it via a php graph system (and get framagit.org/SondagePro-LimeSurvey-plugin/generateGraphQuestion for inspiration)
Solutions :
1. Make it via CSS only ? Must be possible
2. Make it via a js graph system
3. Make it via a php graph system (and get framagit.org/SondagePro-LimeSurvey-plugin/generateGraphQuestion for inspiration)
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.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
7 years 1 month ago - 7 years 1 month ago #151286
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 Plot a single result on an XY chart
Assuming the plot is on a different page from the position questions, you can do this with Expression Manager in the CSS of the plot.
Here is a simple example of plotting a dot inside a container with percentages loaded via Expression Manager:
Sample survey attached:
Here is a simple example of plotting a dot inside a container with percentages loaded via Expression Manager:
Code:
<div class="frame" style="position:relative;width:300px;height:300px;background:#FFFFFF;border:1px solid #000000;"> <div class="dot" style="position:absolute;width:8px;height:8px;background:red;margin:-4px 0 0 -4px;left:{position_SQ001}%;top:{position_SQ002}%; border-radius:50%;"></div> </div>
Sample survey attached:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 7 years 1 month ago by tpartner.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Topic Author
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
7 years 1 month ago #151310
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 Plot a single result on an XY chart
And tpartner do it in css only !!!
Great , really great
Great , really great
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.