## Reports: Overview statistics

report_overviewstats
Maintained by David Mudrák
Produces various site and course report charts. The code has been designed in a way that makes adding more reports easy.
615
1k
26
Moodle 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1

For producing the graphs, YUI Charts module is used. The code is using modern Moodle development techniques and patterns, such as using LESS for producing CSS files and Shifter to compose the Javascript modules.

### Installation

1. Extract the folder 'overviewstats' into your {Moodle root directory}/report/ folder

### Sets

This plugin is part of set Seeking new maintainer.

### Contributors

• Mon, May 5, 2014, 2:41 AM
You basically need to add the code providing data to a class in the classes directory and then the YUI chart renderer into the yui/src/charts/js/. You'll need to use shifter to compile and use the source javascript then. I would suggest starting by copying an existing class.
Please do not hesitate to fill a pull request at github once you have your additions done and tested. TIA
• Mon, Aug 11, 2014, 1:57 PM
Thank you for the report, it works great. If you can just fix the number of users in the users loggin in report, for it is showing decimal number, that would be great.
• Fri, Aug 22, 2014, 9:15 AM
The number of displayed decimal places at the values axis fixed in v1.1 of the plugin.
• Fri, Apr 10, 2015, 4:02 AM
Hello David,

Is there a way to extract information from an external database with this plugin?

Thanks Sirisha
• Fri, Apr 10, 2015, 2:56 PM
sirisha g@: not without additional coding. Also, it depends on what data you actually need to visualise etc.
• Thu, May 14, 2015, 11:11 PM
Hello all,
Is there any way to remove the decimal points in the bar graph obtained for countries. I am trying to have only integers on the axes because number of countries can never be a decimal number. Any help is greatly appreciated . Thank you.
• Thu, May 21, 2015, 12:03 AM
I found the way to remove decimal point. I thought it would be helpful for anyone having the same problem to share the solution here . Adding major unit with count= max+ 1 below the labelFormat will align the labels on the axes with no decimals (Here max is the maximum count for a country) .
• Tue, Aug 25, 2015, 10:26 PM
Is the plugin can show all course watched status ? For example, we want to know how many people watch the course by day/week/year ? Thank you.
• Wed, Aug 26, 2015, 3:31 AM

@Anderson Hsu - No, there is no such report implemented.

• Sun, Feb 7, 2016, 9:02 PM
hi David .. when i go to siteadministration/reports/overview statistics it goes to an empty page .. it was working correctly but i don't know what's happened
• Mon, Feb 8, 2016, 6:35 PM

Ahmed: Empty page is a typical sign of some PHP error thrown with error displaying disabled. Either enable the error display, or check the web server error log for details. In both cases, it may help to temporarily increase Moodle's debugging level.

• Wed, Feb 10, 2016, 6:43 PM
Hi David,
After installing v1.3 my site went completely blank. I cannot access the site at all now. I'm using moodle 2.6.3
I don't have too much experience using moodle, so I was hoping you could tell me what I could to fix this asap as the site is used by one of my clients.
Thanks
Ronan
• Thu, Feb 11, 2016, 3:39 AM

Hmm, that's really weird that both you Mark and Ahmed above report same kind of problem. I just tried and I installed the plugin into Moodle 2.6 with no troubles. Can you try to put the following into your config.php file?

$CFG->debugdisplay = 1;$CFG->debug = 32767;

• Sun, Apr 10, 2016, 3:45 PM
hi David
i have a server error 500 now instead of empty, i still can't get it run correctly .. any thoughts plz ??
and is there any updates soon ?
thank you david
• Mon, Apr 11, 2016, 2:20 PM

Ahmed. Server error 500 is what it says - something wrong happened on the server side and it can be really anything, such as lack of available RAM etc. You must refer to your server's error log to find out details.