SVGGraph 3.12

Published

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.

All the donuts

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.

Their full names and details are on the pie graphs page.

Jack Flash sat on a candlestick

As well as filling in the donut selection, I've implemented a candlestick chart class, shown below.

Whoever invented this graph obviously burned the candle at both ends

It looks an awful lot like the box and whisker graph, but there are a few differences. The point of a candlestick chart is to show prices of stocks, commodities or whatever, with the opening and closing price and its highs and lows. Prices that drop are displayed in a different colour, and SVGGraph will handle this automatically if you have set up the appropriate colours to the first and second datasets.

They are explained in a bit more detail on the other graphs page.

So what else is new?

I have also added log_axis_x and log_axis_x_base options for using a logarithmic X-axis. This is supported by all of the grid-based graphs, though it is only likely to be useful for line or scatter graph types. Bar graphs with a logarithmic X-axis should work, but I can't think of a good reason for doing that.

I'll take eight donuts and a candlestick, please

The new version of SVGGraph is available from the downloads page, or from GitHub / Packagist with Composer.

« Previous: SVGGraph 3.11 Next: JPEG Saver 5.19 »

This site uses cookies - details here.