News archive
SVGGraph 3.13.1
This is just a quick update to SVGGraph, fixing a whole load of warning messages that appear when you use PHP 8.1 with SVGGraph. The warnings are almost all about things that will break in PHP 9 (whenever that is going to arrive) but that work fine at the moment.
Of course, the warning messages themselves break things quite horribly, so most of the changes in this version are adding short attributes that mean "I know this is going to break in PHP 9, I'll fix it then." The reason I didn't fix all of these things properly now is that it would require PHP 8.x - and I'd like to at least keep PHP 7.x supported for now.
The updated version is available from the downloads page or from GitHub, etc.
SVGGraph 3.13
In this new version of SVGGraph there are some new graph types, a couple of options that improve some other things and sundry other updates and fixes.
Curved lines and shifted markers
The first change is something that has been on the to-do list for a very
long time - curved lines on line graphs. The example below shows the new
line_curve
option used on a bar and line graph, but it works on
all the line graphs and the radar graphs too.
For this example all the lines have the same curvature, but it is a per-dataset option so you can specify how curved you want each line to be.
JPEG Saver 5.19
Just a small update to JPEG Saver this time - though it should be a useful one.
Items and styles
Until now there was a Styles tab and there was an Items tab, and they didn't interact much. You could choose one of the styles to use with text-based items, but it wasn't very user-friendly. This update aims to fix that.
The Styles tab hasn't really changed, and neither has the Style editor dialog. They do both use an updated style preview control though, which you can click on to refresh with a new random string (or maybe the same one - there are only 10 that JPEG Saver will pick from).
SVGGraph 3.12
The last couple of SVGGraph releases haven't been very interesting, but version 3.12 actually contains some new graph types. The first of these has been on my to-do list for a very long time, so here it is.
Shouldn't a 3D donut graph really be a torus?
I put 3D donut graphs on my list of things to add back in 2016, but nobody actually asked about them until now. It turned out to be a bit easier than I had expected, and now donut graphs are available in eight different flavours.
These donut graph types support all the relevant options from the 3D pie graphs
and exploded pie graphs, and you can still use the inner_text
options
to add text in the middle.
SVGGraph 3.11
I'm releasing version 3.11 of SVGGraph to get releases up to date with changes on GitHub. It mainly fixes things again, but there is a new graph type and a new option.
How does Bob Marley like his donuts?
Someone asked for an exploded donut graph, so I made one. It turned out
that it didn't quite produce the effect that the user wanted, so I ended up
adding a donut_slice_gap
option to get the similar but
different effect you see on the right in the example below.
What's the difference? A exploded graph shifts the slices away from the centre
point, but the donut_slice_gap
option reduces the size of each
slice slightly without moving it.