View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
20107Bug reportsStatisticspublic2025-06-02 14:35
ReporterFreda Assigned Totibor.pacalat  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version6.6.x 
Summary20107: Statistics PDF export with Pie Charts not working
Description

Selecting graphs type as Pie charts gives Bar charts when exporting statistics in a PDF.

Steps To Reproduce

Steps to reproduce

  • Create a survey
  • Fill in responses
  • Click on Statistics
  • Select Output format: PDF
  • Chart type: Pie chart
  • Enable show graphs

    Expected result

Display results is a Pie Chart

Actual result

Results are displayed in a bar chart

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build).
I will donate to the project if issue is resolvedNo
Browser
Database type & version.
Server OS (if known)
Webserver software & version (if known)
PHP Version.

Users monitoring this issue

There are no users monitoring this issue.

Activities

gabrieljenik

gabrieljenik

2025-05-27 16:10

manager   ~82781

https://github.com/LimeSurvey/LimeSurvey/pull/4298

Problem here is that PDF doesn't implement all chart types. Only bar & pie.
So, when overriding on PDF mode, it creates false expectations.

So, disabled the possibility of overriding on PDF. Harsh decision :)

DenisChenu

DenisChenu

2025-05-30 09:40

developer   ~82791

If it never work : maybe fix it like ths and create a Feature request ?

@tibor.pacalat ?

guest

guest

2025-06-02 14:33

viewer   ~82800

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

tibor.pacalat

tibor.pacalat

2025-06-02 14:35

administrator   ~82801

@DenisChenu I expect that we will have a new solution for displaying statistics in the near future, so there is no point in creating new feature at this time.

Related Changesets

LimeSurvey: master acd2b3e6

2025-06-02 14:33

Gabriel Jenik

Committer: GitHub


Details Diff
Fixed issue 20107: Statistics PDF export with Pie Charts not working (#4298)

Co-authored-by: lapiudevgit <devgit@lapiu.biz>
Affected Issues
20107
mod - application/views/admin/export/statistics_subviews/_outputoptions.php Diff File
mod - assets/scripts/admin/statistics.js Diff File

Issue History

Date Modified Username Field Change
2025-05-15 17:35 Freda New Issue
2025-05-15 17:35 Freda File Added: Screenshot 2025-05-15 at 17.31.11.png
2025-05-15 17:35 Freda File Added: Screenshot 2025-05-15 at 17.34.28.png
2025-05-15 17:43 tibor.pacalat Assigned To => gabrieljenik
2025-05-15 17:43 tibor.pacalat Status new => assigned
2025-05-27 16:10 gabrieljenik Assigned To gabrieljenik => DenisChenu
2025-05-27 16:10 gabrieljenik Status assigned => ready for code review
2025-05-27 16:10 gabrieljenik Note Added: 82781
2025-05-27 16:10 gabrieljenik Bug heat 0 => 2
2025-05-30 09:40 DenisChenu Note Added: 82791
2025-05-30 09:40 DenisChenu Bug heat 2 => 4
2025-05-30 09:40 DenisChenu Assigned To DenisChenu => tibor.pacalat
2025-05-30 09:40 DenisChenu Status ready for code review => ready for testing
2025-06-02 14:33 Changeset attached => LimeSurvey master acd2b3e6
2025-06-02 14:33 guest Note Added: 82800
2025-06-02 14:33 guest Bug heat 4 => 6
2025-06-02 14:33 tibor.pacalat Status ready for testing => resolved
2025-06-02 14:33 tibor.pacalat Resolution open => fixed
2025-06-02 14:35 tibor.pacalat Note Added: 82801
2025-06-02 14:35 tibor.pacalat Bug heat 6 => 8