News archive
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.
TagCanvas 2.5
TagCanvas 2.5 adds a couple of options that I have been asked for recently.
The simplest is a new outlineMethod
, “size”,
demonstrated in the example below. It looks a bit odd to me, but hey-ho.
There's an extra option called outlineIncrease
to specify by how
much the tags increase in size when selected. Use a negative amount if you want
the tags to get smaller, though I think that looks even weirder.
The other new options are also used by the example cloud, and add support for
displaying multiple weights on a single cloud. To use multiple weights you must
use the weightFrom
option, specifying the different attributes as
a comma or space separated list. The example uses three weights and a
weightFrom
of “data-w1 data-w2 data-w3”.
TagCanvas 2.4
People have been asking me for more options for styling the tags for quite a long time, so TagCanvas 2.4 is my attempt to do just that. The example below demonstrates most of the new options that I have added.
As you can probably tell from the example, the new options allow drawing a
box with rounded corners around the tags. The bgColour
option sets
the fill colour of the box, which you can also set to the string
“tag” to use the background colour from the original
<a>
link element that the tag comes from.
The border around the tag is set using the bgOutlineThickness
and bgOutline
options. The default thickness is 0, so there is no
outline drawn. The bgOutline
option sets the colour of the outline,
which defaults to using the same colour as the text. Setting the option to the
string “tag” makes TagCanvas draw the outline using the text colour
of the original link. This is why the text in the example above is all red, but
the borders are in different colours, mostly a purple-blue since that is the
default link colour.