Version 2 (modified by javier.amor.garcia@…, 4 years ago) (diff)

--

Objective: create downloadable PDF reports

The user should choose between a full report or sleecting the modules in which he is interested. He must also choose the time priod of the report.

The report would show the graphs and tabular data for the modules and the time period selected.

PDF creation

Seeing the difficult to use PDF::Creator and the like, we will try to create a html and then use html2pdf or some similair tool to convert to PDF.

Graphs

We use a JS library to generate graphs that could not export to any graphical file so we must look for other method to plot our data. The data itself is stored in a postgresql database so we can use a external tool.

Perl is lacking of "pretty" plot libraries (we have used i nthe past the Chart perl library) so we will not use a perl package.

One option would be to ocnvert the data to rrd and use the library already develoepd to export in PNG format, but I will rather to avoid the data conversion to rrd.

Other options:

  • gnuplot
  • sphinx