News archive
SVGGraph 3.0
In my last news item I said I was going to work on version 3.0 of SVGGraph next, and that is what I have been doing. There is a lot more I want to do, but I could have spent months tinkering on the new version without ever being completely happy with it. So here it is.
The example EmptyGraph above is something that I thought might be useful, and will become more useful when something else I have planned comes to fruition. At the moment it can be used to draw shapes and labels, plus it supports the graph title, border and background options. You can assign values, colours and links, but it doesn't do anything with them and you can get away with code as simple as this:
require 'SVGGraph/autoloader.php';
$graph = new Goat1000\SVGGraph\SVGGraph(600, 300);
$graph->render('EmptyGraph');
SVGGraph 2.30
This version of SVGGraph adds some more options for drawing things on the
graph, building on the existing shape
option. The graph below is
the example from the shapes page with the
new features added.
The main difference in this version is the addition of the figure
option, which defines named shapes or groups of shapes that can then be used as
shapes, in other figures, or as markers on scatter and line graphs. The example
graph above has one figure defined and used three times for the red squares with
the shaded box over the top.
JPEG Saver 5.2
JPEG Saver 5.2 is one of those versions that doesn't really look any different from the outside. On the inside there have been some important changes, making some existing things more stable and making some things that are still on my to-do list possible.
There are some visible updates - I've made a couple of simple changes in the dialogs that make it a bit easier to use. In the background and style editor dialogs where there are two colours I've added a button in between to swap them over. This also works in the background dialog when using a mode where only one colour is enabled, allowing you to flip between two colour options.
The folders list now shows the number of enabled folders at the top as well as the total number of folders in the list. This is especially useful for me, since I have a long list of folders that I turn on and off for testing different file types, EXIF and IPTC data, automatic rotation, etc.
SVGGraph 2.29
SVGGraph 2.29 is another version that mostly changes thing internally, but there are a few more visible changes too. The most obvious change should be apparent in the example below.
Box division style
Both division_style
and subdivision_style
(and
their _h
and _v
variants) now support a new style
called "box"
. The Y axis in the bar graph shows how they behave
with this new style when the labels are at the division marks, and the X axis
shows what happens when the labels are between the marks (usually for bars) -
the box is drawn around the label instead of inside it. I have used the
subdivision_h
option set to 0.5
to enable
subdivisions on the X axis so you can see what they look like - they would not
normally be displayed.
JPEG Saver 5.1.1
As you can probably guess from the 0.0.1 added to the version number, this is a bugfix release. There are a few annoying bugs fixed in this version though.
First, a crash when using the shape skip option with multiple displays and the secondary displays set to not show any images. That one was easy to fix, and so was a bug preventing the screensaver from automatically progressing through the images when the secondary screens were set to show the previous image.
More complicated was an unrelated but similar bug that sometimes meant that JPEG Saver would not automatically progress through the images, and sometimes not even show the first one.