Welcome, Guest
Username: Password: Remember me

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

Is there a default for Chart type = Pie Chart ? 1 year 5 months ago #96901

  • actxcellence
  • actxcellence's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 37
  • 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 ? 1 year 5 months ago #96950

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 868
  • Karma: 257
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
The administrator has disabled public write access.

Is there a default for Chart type = Pie Chart ? 11 months 3 weeks ago #102042

  • DWS
  • DWS's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 50
  • Karma: 1
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 ? 11 months 3 weeks ago #102094

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
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)limesurvey.org'"
Last Edit: 11 months 3 weeks ago by Mazi. Reason: added link to bugtracker
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.118 seconds
Donation Image