SVGGraph 3.3
Published
SVGGraph 3.3 is another update that looks like it has very little in it. Here's the most obvious change:
The ArrayGraph is a new graph type that uses subgraphs to split datasets out and draw multiple graphs on one document. It is a bit limited at the moment, but I thought now would be a good time to release it and see about improving it later. Some details of the ArrayGraph and how to use it have been added to the other graphs page.
The "dataset" option revisited
Getting the ArrayGraph to work meant going through all the different graph
types and adding support for the dataset
option that I added in
version 3.2 for the pie graph and its related types. I thought that this would
be quite easy but it took a lot longer than I had hoped. Anyway, now all the
graph types support specifying which datasets should be drawn by setting
dataset
to a dataset number or array of dataset numbers.
Some new options
I don't think anyone has ever asked for this first option before, because it
was really easy to add: bar_round
. It sets the corner radius for
graph bars on the vertical, horizontal, floating and box and whisker graphs. It
is such a simple and obvious option that I'm still surprised that I needed to
add it.
The only other additions in this version are median_colour
and
median_dash
, both for modifying the style of the median line on
the box and whisker graphs.
The new version of SVGGraph is available from the downloads page, or from GitHub / Packagist with Composer.