Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Is there a default for Chart type = Pie Chart ?

  • actxcellence
  • actxcellence's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago #96901 by actxcellence
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 topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 9 months ago #96950 by DenisChenu
Replied by DenisChenu on topic Is there a default for Chart type = Pie Chart ?
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.
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.
More
10 years 3 months ago #102042 by DWS
on application\helpers\admin\statistics_helper.php

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

if($sQuestionType=="L") { $type=1;}
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
10 years 3 months ago - 10 years 3 months ago #102094 by Mazi
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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Last edit: 10 years 3 months ago by Mazi. Reason: added link to bugtracker
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose