Summary reports pie charts are broken

Bug #746547 reported by Adam P
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
psiphon
New
Undecided
Unassigned

Bug Description

If one or more of the chart datasets is empty the script spits the following warning:

Warning: Invalid argument supplied for foreach() in /home/httpd/psiphon2/admin/summary_report.php on line 645

The charts do not display even if there's no php warning (i.e. on the live servers)

JS error console reports the following errors:

Error: axis.ticks[i].label is undefined
Source File: admin/js/flotr/flotr.js
Line: 864

Error: this.axes.x.p2d is not a function
Source File: admin/js/flotr/flotr.js
Line: 1611

Adam P (adam+)
visibility: private → public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.