View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
13437Bug reportsStatisticspublic2020-10-12 09:31
Reporterpmonstad Assigned Togabrieljenik  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version3.1.x 
Summary13437: simple statistics looks odd
Description

Simple statistics. Several charts looks very odd.

Steps To Reproduce

Import enclosed lsa and try to run simple statistics. It looks like the screenshot.

TagsNo tags attached.
Attached Files
Bug heat12
Complete LimeSurvey version number (& build)3.4.3+180227
I will donate to the project if issue is resolvedNo
BrowserChroe
Database type & versionall
Server OS (if known)all
Webserver software & version (if known)all
PHP Versionall

Relationships

duplicate of 14613 closedcdorin simple statistic looks odd 
related to 16620 closedgabrieljenik simple statistics looks odd 

Users monitoring this issue

There are no users monitoring this issue.

Activities

pmonstad

pmonstad

2018-03-02 20:21

updater   ~46876

And the lsa file

markusfluer

markusfluer

2018-03-07 09:16

administrator   ~46936

I have trouble reproducing this right now.
Can you describe your settings a bit more?

pmonstad

pmonstad

2018-03-07 10:02

updater   ~46938

I do not use any non-standard settings. I run this survey on 2.6.x release and imported the survey into 3.x release to do some testing.

csknfrt

csknfrt

2018-03-27 16:46

reporter   ~47238

when you select "All Answers" it will appear. You may need to try more than one.
LS version 3.5.4

istatistic.png (59,181 bytes)   
istatistic.png (59,181 bytes)   
pmonstad

pmonstad

2018-05-27 22:14

updater   ~47867

This one is still not fixed. Statistic graphs are useless in simple mode.

pmonstad

pmonstad

2018-12-29 14:04

updater   ~50080

Still not fixed. Simple statistics are in many cases useless as graphs are not whown correct.

pmonstad

pmonstad

2019-05-15 21:04

updater   ~51956

duplicate of 14613

Mazi

Mazi

2019-10-21 09:00

updater   ~54123

@cdorin, this issue is reported frequently by various users. If the question labels are too long, the chart simply looks bad. A simple function to cut off the labels after e.g. 50 characters would fix this. Alternatively, we could show the question code only or as an additiona in front of the text.
Maybe we can also use tooltips to show the full texts?

There are surveys where you can't use this feature at all due to longer answers texts.

gabrieljenik

gabrieljenik

2020-08-28 18:08

manager   ~59663

Made the view responsive and have 1, 2 columns or 3 depending on the screen width.
Made the legends to be below the chart, and not on its right side.

PR: https://github.com/LimeSurvey/LimeSurvey/pull/1567

gabrieljenik

gabrieljenik

2020-10-09 11:51

manager   ~60135

Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30563

lime_release_bot

lime_release_bot

2020-10-12 09:31

administrator   ~60154

Fixed in Release 3.24.0+201013

Related Changesets

LimeSurvey: 3.x-LTS 5f11205c

2020-08-28 20:05

gabrieljenik

Committer: user234287


Details Diff
Fixed issue 13437: simple statistics looks odd

Made the view responsive and have 1, 2 columns or 3 depending on the screen width.
Made the legends to be below the chart, and not on its right side.
Affected Issues
13437
mod - application/helpers/admin/statistics_helper.php Diff File
mod - application/views/admin/export/generatestats/simplestats/_statisticsoutput_graphs.php Diff File
mod - application/views/admin/export/generatestats/simplestats/_statisticsoutput_header.php Diff File

Issue History

Date Modified Username Field Change
2018-03-02 20:20 pmonstad New Issue
2018-03-02 20:20 pmonstad File Added: Skjermbilde 2018-03-02 kl. 20.18.38.png
2018-03-02 20:21 pmonstad File Added: survey_archive_759176.lsa
2018-03-02 20:21 pmonstad Note Added: 46876
2018-03-07 09:16 markusfluer Note Added: 46936
2018-03-07 09:16 markusfluer Assigned To => markusfluer
2018-03-07 09:16 markusfluer Status new => feedback
2018-03-07 10:02 pmonstad Note Added: 46938
2018-03-07 10:02 pmonstad Status feedback => assigned
2018-03-27 16:46 csknfrt File Added: istatistic.png
2018-03-27 16:46 csknfrt Note Added: 47238
2018-05-27 22:14 pmonstad Note Added: 47867
2018-12-29 14:04 pmonstad File Added: Skjermbilde 2018-12-29 kl. 14.02.22.png
2018-12-29 14:04 pmonstad Note Added: 50080
2018-12-29 14:04 pmonstad File Added: Skjermbilde 2018-12-29 kl. 14.02.22-2.png
2019-03-06 21:43 pmonstad Relationship added related to 14613
2019-05-15 21:04 pmonstad Note Added: 51956
2019-10-21 09:00 Mazi Note Added: 54123
2019-10-21 09:02 Mazi Relationship replaced duplicate of 14613
2019-11-12 14:39 c_schmitz Priority none => normal
2020-01-14 15:32 cdorin Assigned To markusfluer => cdorin
2020-08-26 16:23 gabrieljenik Issue cloned: 16620
2020-08-26 16:23 gabrieljenik Relationship added related to 16620
2020-08-28 18:08 gabrieljenik Note Added: 59663
2020-10-09 11:51 user234287 Changeset attached => LimeSurvey 3.x-LTS 5f11205c
2020-10-09 11:51 gabrieljenik Note Added: 60135
2020-10-09 11:51 gabrieljenik Assigned To cdorin => gabrieljenik
2020-10-09 11:51 gabrieljenik Resolution open => fixed
2020-10-12 09:31 lime_release_bot Note Added: 60154
2020-10-12 09:31 lime_release_bot Status assigned => closed