News archive
SVGGraph 2.17
Quite often changes happen to SVGGraph, or any of the software I release, due to requests from users. Sometimes users send me code that they have used to improve the software themselves - version 2.17 of SVGGraph includes both of these types of update.
The most obvious change in this version is the addition of a load of new functions for setting the colours used to draw the different bars or pie slices. I've been unhappy with the way SVGGraph deals with colour selection for quite a long time, but I haven't done anything about it until now because it worked well enough. Recently someone sent me through some code that added support for using a range of colours, and I liked it enough to incorporate it into the system. It meant overhauling the way that colours are picked, and it also gave me the chance to add a function for setting different colours for each dataset on a multi-dataset graph. This example shows two different colour ranges on one stacked bar graph.
The old $graph->Colours()
function still works the same way,
and setting $graph->colours
directly still works too. Setting
individual bar colours using structured data will still override any colour
settings as well. The new colour functions are listed on the
functions page, and are demonstrated on the
colours, gradients and patterns
page.
JPEG Saver 4.13.1
This new version of JPEG Saver doesn't have a lot of new stuff in it, but does add a couple of things that people have asked me for lately.
The first is a new image selection mode available from the drop-down list on the main tab. The new mode is called “Alphanumeric” and sorts the list of images by filename, ignoring the folders in a similar way to the “Chronological” mode. The selection is also sorted by file date and time, so if you have multiple files called e.g. “15.jpg”, they will be displayed in order of age.
The second change is a new background mode. Actually, it's two new background modes, since I couldn't decide which worked better and decided to include both. They are called “Image average” and “Image edge average”, and both fill the background with a solid colour. The first one chooses a colour by averaging the colours of all the pixels in the foreground image, and the second looks at a 2-pixel border around the edge of the foreground image and averages the colours it finds there.
SVGGraph 2.16
SVGGraph 2.16 is not a huge update, but it does include a new graph type and several changes that I have been asked about over the last few months. There are a couple of bugs fixed too.
The new graph type is a stacked and grouped bar graph, for when some of your data adds up and some should be compared. That's a terrible description. I'll try an example.
I picked these numbers out of thin air to produce a nice graph, so don't try to figure out what they are showing. The graph shows four datasets, with the first and second drawn in a stack with red and blue gradients and the third and fourth datasets drawn in a stack with red and blue polkadot patterns.
TagCanvas 2.5.1
A quick bug-fix version of TagCanvas this time, with no new features to talk about.
The first bug fixed is the Update and Reload functions failing to update the background or border colours of tags when the background colour of the link has changed (and it is used as the source of colour). This is not so much a bug, more a case of me forgetting to add the support in when I added the tag backgrounds and borders. It's fixed, anyway.
The next bug would cause the script to crash out when using
clickToFront
and tooltips. Attempting to find the text to display
for the active tag was throwing an exception, so now TagCanvas does not attempt
to display any tooltips for a tag that is being moved by the RotateTag
functions.
JPEG Saver 4.13
In keeping with the last update to JPEG Saver, this new version adds some things from the to-do list that are so old that I think most people would have given up hope of them ever happening. I'm referring to the new “Mirror X” and “Mirror Y” options that are available from the Background tab.
These options work with the tiled image modes and the image copy mode, and flip alternate copies of the background image either horizontally or vertically. It can produce quite a nice effect, and made me wonder why I hadn't got around to it earlier.
The major reason why it has taken me so long to do this is that up until now the background images were always tiled from the top-left corner of the screen. This isn't a big problem for background images loaded separately, but for the image copy mode the mirrored images just looked wrong. This version fixes that, with the background images positioned so that the centre of the first tile coincides with the centre of the foreground image.