News archive
SVGGraph 2.23.1
This version of SVGGraph mainly fixes a few bugs, but I have added one new option too. It doesn't do anything visual, so there is no example graph to show for it.
The new option is datetime_key_format
, for use with the
datetime_keys
option added in version 2.23. This new option allows
you to specify a format for parsing your keys instead of relying on PHP
recognising the format. The format string is described on this PHP manual page:
DateTime::createFromFormat.
The first of the bugs fixed in this version is also related to the
datetime_keys
option, solving a nasty error when using multiple
dataset graphs without structured data.
SVGGraph 2.23
There are a couple of bug fixes in SVGGraph 2.23, but the main change in this version is the addition of a date/time axis. Here's an example:
For comparison, the same data without the date/time axis enabled is shown here:
The graph without the date/time axis has spread the values out evenly, not making any use of the date and time information. You could still use a callback function to reformat the axis text if this is the way you want to present your data.
TrayBlank 1.7
Only two and a half years after the last release, here is version 1.7 of TrayBlank. I didn't bother releasing version 1.6 because it only added one extra option, a slight delay before the screen saver starts.
Version 1.7 adds an extra hotkey for configuring the screen saver, and there are now checkboxes in the hotkeys setup dialog to enable/disable each of the hotkeys individually. I added this after I found myself turning the monitor off accidentally a couple of times.
The new version of TrayBlank is available from the downloads page.
SVGGraph 2.22
Version 2.22 is another small SVGGraph update, this time improving the way
that the legend works. The bulk of the legend code has been moved out of the
main class into a new SVGGraphLegend.php
file which is only loaded
if you are using a legend. Here's an example bar and line graph:
This graph is using legend_entries
to set an entry for each
dataset, but it is also using the new legend_text
option for
structured data, adding an entry to the legend for the red marker in the
“Jul 2016” position. The data and relevant options are shown in
the code snippets below.
$settings = array(
'structure' => array(
'key' => 0,
'value' => array(1, 2),
'colour' => array(null, 3),
'marker_stroke_colour' => array(null, 4),
'legend_text' => array(null, 5),
'axis_text' => 'axis',
),
'legend_entries' => array(
'Marketing',
'Sales'
),
'legend_position' => 'bottom right -5 -5',
);
JPEG Saver 4.17
There isn't as much new stuff in JPEG Saver 4.17 as I had planned but I wanted to release it now because it fixes a couple of bugs, one of which was really hard to find.
The main change in this version is the addition of filter presets in the filters dialog. I've compiled in a few that I think will be useful, but you can also add your own, modify the defaults, and mix them together using the “Insert” option. If you have any really good ideas for filters please let me know and I can add them into a future version.
I'm still planning to add filtering by tags/keywords, but that was too complicated to make it into this version.