GSoC/GCI Archive
Google Code-in 2011 LimeSurvey

Code: Add option to switch between bar chart and pie chart at statistics

completed by: Licker Nandor

mentors: Carsten Schmitz (c_schmitz)

Limesurvey uses bar charts for multiple choice questions and pie charts for single choice questions. Often users want to switch to a different chart type so this fixed assignment of certain types should be replaced by a more dynamic system which allows the user to set chart types himself.

Task Steps:

  • Install LimeSurvey - import a test survey with all question types (we can provide one) and add some test data.
  • Have a look at the admin statistics and the charts that are created. Check how we could best offer a choice for the user to set chart types.
  • Discuss your suggestions with your mentor and together create a concept how to deal with the problem.
  • Implement a generic solution.
  • Discuss the patch with your mentor and ask for feedback.
  • Check-in your changes into the limesurvey svn trunk.
  • Done!