Category Archives: Gnumeric

GMathml is dead, long live Lasem

Since GMathml is no longer only a MathML library, but can also render SVG now, I have renamed it to Lasem. The name comes from the city of Lasem, known for its batik manufactures. It could be the acronym for “Library for Awesome SVG and Exceptional MathML”. But to be honest, it’s more an acronym for “Library for Awful SVG and Eccentric MathML”.

Only a really small subset of SVG 1.1 is supported for now. Here’s some samples of what can do Lasem:

paths-data-02-t
paths-data-02-t
pservers-grad-06-b
pservers-grad-06-b
coords-trans-01-b
coords-trans-01-b

New graphing features of goffice 0.6

The last stable version of gnumeric, released a few months ago, uses goffice 0.6, which has seen a lot of improvements since goffice 0.2 used previously by gnumeric 1.6.x.

First of all, we have ditched the multi-backend renderer and now we use cairo as our rendering abstraction layer. That means less code on our side, a nice API to use (no more libart…) and we have now a direct support of PDF/PS export.

Here’s the output of a sample graph, exported as PNG:

sample-01.png

And the same graph as PDF and SVG.

The graph legend has a better layout, and a its swatches are more close to what’s actually drawn in the chart area.

legend-01.png

legend-02.png

legend-04.png

legend-04.png

legend-05.png

There’s some new number formats for better display of log axis labels and of polar axis labels when using a radian unit. Polar plots can be rotated, and it’s possible to choose the start/end angle. In addition to chart grid, we have now stripes.

polar-stripe-radian.png

XY and polar plots fully support filled area and the different interpolation types (linear, spline, step).

xy-fill-interpolation.png

polar-fill-interpolation.png

There’s more line styles:

line-style.png

We have a support for regression curves, with a display of the calculated cofficients.

fit-ln.png

moving-average.png