[Koha-devel] Adding some visual sugar to reports

Owen Leonard oleonard at myacpl.org
Mon Jul 27 17:27:11 CEST 2009


> Has anyone thought of adding some graphics to koha reports? We've been
> playing (*) with Google Visualization API for creating charts. It has
> some limitations due to its EULA (cannot be used offline) but
> jqPlotcould be used instead (http://www.jqplot.com or plotkit).

I've played around a little with the Google API myself, but I suspect
many folks would be suspicious of using Google. I haven't looked at
jqPlotcloud before.

> Also, making result tables sortable would be straight-forward using
> 'tablesorter' (http://plugins.jquery.com/project/tablesorter).

We already use the tablesorter plugin in many places, so it's
available in the default Koha installation. It's not included by
default in the standard set of JavaScript includes, though, so if you
want to include it on a particular page you have to add it to that
template. Be careful, though: for large tables the tablesorter plugin
can be a resource hog, locking up your browser as the plugin tries to
parse all that data. If you're looking into it, see what options there
are for triggering the sort not on page load but on request, and
giving UI feedback for the process.

> I can help with this if someone tells me the proper way of doing it
> (do I post patches to bugs.koha.org? email them to someone?).

If you see a place where you'd like to make an enhancement, file a bug
report. Then when you submit a patch to patches at koha.org, also attach
a copy of the patch to the bug report.

  -- Owen

-- 
Web Developer
Athens County Public Libraries
http://www.myacpl.org



More information about the Koha-devel mailing list