Blocks: Dashboard

block_dashboard
Maintained by Picture of Valery Fremaux Valery Fremaux
Graphic, one query dashboard element using MIT library JQplot and other libraries
304 sites
131 downloads
24 fans

the dashboard element bloc is of use with flexible Moodle
page formats allowing free setup of the dashboard page layout using blocks.

It implements a "dashboard element" capable to plot and render in
many graphic output formats any result of a complex query presented
to the Moodle database (or an eventual external PostGre schema).

Given a full query, the dashboard block mashes up :

- Data table output
   + Linear (records) data table
   + Tabular (cross dimension) tables
   + Treeview (on hierarchical mapped results)
   
- Graphic plotting using JQPlot
   + Line graphs
   + Bar graphs
   + Pie graphs
   + Donuts graphs
   
- Geographic plotting (using GoogleMaps API)
   + Google Maps + query data plotting
   + Possibility to change icons and plor mutiple class data using course files
   + Geocoding requests to Google handled (up to 2500 per day) with static long term caching
   => Will evolve

- Time special plotting : Integrating SIMILE Timeline plugin
   + Plot on a timeline plugin of "instant" and "time duration" events
   + possibility of setting up color classes for events
   + possibility to customize "instant" pin icons from course files
   => Will evolve

- Data output additional features
  + Data output formatting (using sprintf formatting)
  + Filters (selecting output or query fields for filtering)
  + Summators : displaying computed sums of output fields
  + Cumulative mode : Produces cumulative sum of a field without extra query
  + Data colouring and marking (on tables) using comparison formulas (ex: %% == 0 )
  + Mappable Labels for ALL query field names

- Performance features
  + Result caching (programmable retension delay)
  + Croned refresh of cache
  + Instance adjustable refresh mode or global cron settings

Dependancies :

You will need to add the custom extra libraries additions from https://github.com/vfremaux/moodle-local_vflibs to get the plotter libraries.

Get the adequate branch for your major Moodle version and install the libraries as a moodle/local component.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Picture of Valery Fremaux
Valery Fremaux (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Valery Fremaux
    Thu, 20 Jun 2013, 4:01 AM
    please check the last published version for Moodle 2.3/2.4, maybe runs on 2.5 without update..
  • Picture of 昇文 涂
    Thu, 6 Mar 2014, 10:00 PM
    Excuse me, my moodle is 2.4.1, currently there are errors.

    Coding error detected, it must be fixed by a programmer: You must set the text for the node when you create it.

    By the way, how can I input the data to database?

    thank for you
  • Picture of rashmi kapure
    Tue, 6 May 2014, 8:05 PM
    hello valery ,
    I have problem in configuring the dashboard report block.I have run the query in phpmyadmin database in cpanel , it works properly but when i put query in query settings and then run the dashboard it shows error.Kindly guide me regarding this settings.
  • Picture of Valery Fremaux
    Tue, 6 May 2014, 9:22 PM
    can u send me your query at valery.fremaux-at-gmail.com ? tell me your Moodle version and the block's version also
  • Picture of rashmi kapure
    Thu, 8 May 2014, 5:48 PM
    hello valery,

    I have sent you mail on your mentioned id.Please troubleshoot my problem.
  • Picture of Inês Couto
    Tue, 18 Nov 2014, 11:56 PM
    Hi there,
    I'm trying to make a filter in the query I'm using in the dashboard block.
    The thing is: I want the user to see it's own grades from all over de site moodle.
    I already have the query saying everbodys graduates and now I would like to filter it only to the user.
    How can I do that?
    Thank you!!!
  • Picture of Sawan Dhanotiya
    Mon, 16 Mar 2015, 7:38 PM
    Hi Valery,

    I have install Dashboard block. I am unable to setup the DB settings.
  • Picture of David Manning
    Sat, 13 Aug 2016, 6:09 AM
    Hi Valery,

    This block has been very helpful for setting up a "high scores" block on our courses. Would you be willing to enhance the plugin to support multiple languages via language markup tags? Details here: https://moodle.org/plugins/filter_multilangsecond
  • Picture of Nisanth Sasidharan
    Mon, 26 Dec 2016, 8:33 PM
    not working with 3.2
  • Picture of Valery Fremaux
    Mon, 26 Dec 2016, 9:03 PM
    Hi guys. dashboard plugin will soon have a deep review planned. This might also consider some compatibility with 3.2 version. As for all of my (at the moment) 135 developped plugins, There will be a common development schedule in order to split a "community" version and a "pro" version of this plugin. Community will address basic usages, most standard libraries and renderers. "Pro" version will address richer development perimeter, such as performance optimisation, webservices, better automation and flexibility, additionnal outputs, productivity features.
  • Ben Haensel
    Tue, 16 May 2017, 3:25 AM
    I wish to concatenate a link to a course using the Dashboard plugin, yet characters such as question marks and equal signs aren't allowed. Here is what I've tried:

    concat('',c.fullname,'') as course

    It errors out with the message "invalid or obsolete query" until you remove the question mark and the equal sign. Is there a specific file in the plugin to remove a regex or replace expression that is searching for these characters? Thanks for any help! -Ben, 320.309.4634
  • Picture of Valery Fremaux
    Wed, 17 May 2017, 2:48 AM
    Hi Ben. I will have a bunch of work these next wks on the dashboard to clean up code and make setup more understandable. Spcially what i want is the bloc to report correctly the exacty SQL error the DB gives in backoffice, so making easier to debug the query. At the immediate moment i do not really see where i could have some processing of those ? and = signs... but the code is dense and i will need to swim a bit back in it...
  • Ben Haensel
    Wed, 17 May 2017, 5:30 AM
    Thanks for your quick reply about the Dashboard block! I'm excited to test out a new version if you get a beta one working or if you discover where I could remove the code for the = and ? signs.

    We use the Essential theme, and the block fights with css for that and displays in reports in the block form in a weird place.

    I'll be eager to test the block if you could send me an updated version in the next few weeks. If you'd like to chat sometime, let me know. I've done a lot of reporting with the configurable reports block. Thanks again! -Ben
  • Picture of Rajeet Singh
    Thu, 18 May 2017, 1:47 PM
    Hi,
    can anybody help me, how to plot multiple graphs! I am using it on moodle 3.3, it work perfectly for one query, but I want to show multiple graphs which show the data from different table using multiple queries.
  • Picture of Valery Fremaux
    Thu, 18 May 2017, 5:38 PM
    Hi Rajeet, you cannot do that. Dashboard block is to be thought as a "Dashboard element" which processes one query with one result and some rendering option choices on this result. The block has been designed to be asembled in dashboard, pursuant you display the rendering in the block content space, and use the bloc on a course format or a plugin that can renders blocks in a free layout. The format "page" was the original candidate, but i kkow there are now activities that allow you assemble blocks in a page, and thus let you assemble several dashboard elements in a single page.

    Note that in such eventuality, the "g" option of the filters that allow you couple filters between dashboad instances and get filters switching accordingly in all elements at the same time.

    Cheers.
1 2
Please login to post comments