Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Is there a default for Chart type = Pie Chart ?

Is there a default for Chart type = Pie Chart ? 3 years 5 months ago #96901

  • actxcellence
  • actxcellence's Avatar
  • Offline
  • Premium Lime
  • Posts: 42
  • Thank you received: 7
  • Karma: 0
I want to have a default for Chart type = Pie Chart ?

or in general:

Is there a default option to add default lime_question_attribute to new questions?
Schon die Bedienungsanleitung von LimeSurvey angeschaut?
Bedienungsanleitung (DE) | Tricks, um mehr Antworten auf Fragen im Forum zu erhalten
The administrator has disabled public write access.

Is there a default for Chart type = Pie Chart ? 3 years 5 months ago #96950

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9555
  • Thank you received: 1373
  • Karma: 389
Not actually,

Maybe in 2.05/2.1 with plugin system.

The default option for attribute are set in core: application/helpers/common_helper.php : function questionAttributes

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time (Need support ?).
A bug not reported is a bug not corrected. | 2.61lts version improved | Need plugins for LimeSurvey ?
The administrator has disabled public write access.

Is there a default for Chart type = Pie Chart ? 3 years 6 days ago #102042

  • DWS
  • DWS's Avatar
  • Offline
  • Senior Lime
  • Posts: 53
  • Thank you received: 1
  • Karma: 2
on application\helpers\admin\statistics_helper.php

add on function createChart for any question type the following line:

if($sQuestionType=="L") { $type=1;}
The administrator has disabled public write access.

Is there a default for Chart type = Pie Chart ? 3 years 4 days ago #102094

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6027
  • Thank you received: 373
  • Karma: 260
For public statistics you can define whether to use bar chart or pie chart. From my point of view it might make sense to also use that value for admin statistics, so feel free to post a feature request/bug ticket at the Bugtracker.

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'"
Last Edit: 3 years 4 days ago by Mazi. Reason: added link to bugtracker
The administrator has disabled public write access.
Time to create page: 0.237 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form