View Issue Details

This issue affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
13986Bug reportsStatisticspublic2026-10-20 17:06
ReporterMazi Assigned Toc_schmitz  
PrioritylowSeveritypartial_block 
Status closedResolutionfixed 
Summary13986: Selected chart types not used when selecting "PDF" output at statistics
Description

At the advanced statistics screen different chart types are supported. The to be used chart type can be set at question level at the advanced question settings.
When selecting PDF as output, only bar and pie charts are used and the question based setting is completely ignored.

I know that for technical reasons a different charting library is used for generatng the PDF. But even the old pchart supports line and radar graphs so maybe that can be implemented as well?

As a short term solution I recommend adding a note at the statistics screen saying:
"For technical reasons the Excel output does NOT contain any charts. At PDF output charts are limited to pie charts (single choice questions) and bar charts (multiple choice question types)."

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)Version 3.14.5+180815
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Ubuntu 14 TLS
Webserver software & version (if known)Apache 2
PHP Version7.0.26
Git branch / Pull Request URL

Users monitoring this issue

efingdmi

Activities

cdorin

cdorin

2019-03-11 14:56

reporter   ~50901

Last edited: 2019-03-11 14:57

Thanks for the observation, @Mazi. As suggested, I will add it the short comment to the manual (until another solution is provided)

gabrieljenik

gabrieljenik

2022-08-05 17:07

developer   ~71349

Still happening on master

c_schmitz

c_schmitz

2026-10-14 17:31

administrator   ~86454

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40851

LimeBot

LimeBot

2026-10-20 17:06

administrator   ~86638

Fixed in Release 7.7.0+261020

Related Changesets

LimeSurvey: master be1fea0e

2026-10-14 17:27

c_schmitz


Details Diff
Fixed issue 13986: Statistics PDF export ignored the chart type set for a question or selected for the statistics and only showed bar or pie charts
Dev Radar and line charts are drawn with pChart, polar area and doughnut charts fall back to pie charts
Dev Fixed imagefilledpolygon() deprecations in pChart
Affected Issues
13986
mod - application/helpers/admin/statistics_helper.php Diff File
mod - application/views/admin/export/statistics_subviews/_outputoptions.php Diff File
mod - assets/packages/pchart/pChart.class.php Diff File

Issue History

Date Modified Username Field Change
2018-08-21 13:42 Mazi New Issue
2018-08-22 12:54 efingdmi Issue Monitored: efingdmi
2019-03-11 14:56 cdorin Note Added: 50901
2019-03-11 14:56 cdorin Status new => confirmed
2019-03-11 14:57 cdorin Note Edited: 50901
2019-11-26 18:08 cdorin Assigned To => cdorin
2019-11-26 18:08 cdorin Status confirmed => assigned
2021-02-09 13:45 cdorin Assigned To cdorin =>
2021-02-09 13:45 cdorin Priority none => low
2021-02-09 13:45 cdorin Status assigned => acknowledged
2022-08-05 17:07 gabrieljenik Status acknowledged => confirmed
2022-08-05 17:07 gabrieljenik Note Added: 71349
2022-08-05 17:07 gabrieljenik Bug heat 4 => 6
2022-08-05 17:08 gabrieljenik Severity minor => partial_block
2026-10-14 17:31 c_schmitz Changeset attached => LimeSurvey master be1fea0e
2026-10-14 17:31 c_schmitz Note Added: 86454
2026-10-14 17:31 c_schmitz Assigned To => c_schmitz
2026-10-14 17:31 c_schmitz Status confirmed => resolved
2026-10-14 17:31 c_schmitz Resolution open => fixed
2026-10-14 17:31 c_schmitz Bug heat 6 => 8
2026-10-20 17:06 LimeBot Note Added: 86638
2026-10-20 17:06 LimeBot Status resolved => closed
2026-10-20 17:06 LimeBot Bug heat 8 => 10