[buildgear-devel] [buildgear/buildgear] cffe34: Fix autogenerated load-chart SVG output

GitHub noreply at github.com
Sat Sep 12 04:57:30 MDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/buildgear/buildgear
  Commit: cffe34e63ddcc9975ee0f27688a3f369bd413d22
      https://github.com/buildgear/buildgear/commit/cffe34e63ddcc9975ee0f27688a3f369bd413d22
  Author: Martin Lund <martin.lund at keep-it-simple.com>
  Date:   2015-09-12 (Sat, 12 Sep 2015)

  Changed paths:
    M src/stats.cc

  Log Message:
  -----------
  Fix autogenerated load-chart SVG output

In recent releases of EOG (Eye of Gnome) the data points of the
autogenerated load-chart SVG are displayed incorrectly (looks inverted).

This is the result of the SVG rendering in EOG now adhering more stricly
to the SVG standard which specifies that the "height" parameter value
used in the rect element must be positive only.

It turns out this is the very reason that the autogenerated SVGs were
not being displayed with eg. Inkscape which would simply silently ignore
negative rectangle height value.

The fixed SVG output has been tested successfully with EOG, Inkscape,
Firefox, and ImageMagick display.




More information about the buildgear-devel mailing list