Check out the LimeSurvey source code on GitHub!

Chart in Assensement

More
5 years 11 months ago #55933 by sate1212
Hello,
I wish to add a chart at the end of each assessment in order to achieve similar results.
I want to change a bit in the code, but I do not know page is a portion of the script that I modified.
{PERC} 10
{PERC} 13
{PERC} 9
{PERC}15
{PERC} 5
Since I am new to programming
Thank you for your help

Attachments:

Please Log in to join the conversation.

More
5 years 11 months ago #56022 by Mazi
Limesurvey uses the charting library "pchart" for creating charts so you could use that to create the chart you are looking for.

If you search the code for "assessment" you should be able to find the function which is responsible for creating the assessment calculations (I think it's index.php).
Customizing this will be no easy task though and requires some coding experience.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 10 months ago #57396 by sate1212
Hello,
I am part of the index file and I found the part devoted al'assessment.
I have also seen pChart
But I do not know where to start to implement the code in the party.
If you could give me any indication to start after I find the path.
Thanks

Please Log in to join the conversation.

More
5 years 10 months ago #57413 by Mazi
I think charts for admin and public statistics are created at the /admin/statistic_functions.php file.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form