News archive

05/05/2016

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:

BarAndLineGraph with legend

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',
);

Read more . . .

15/04/2016

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.

Read more . . .

20/03/2016

SVGGraph 2.21

This is a relatively small update to SVGGraph, mainly because I'm trying to release updates more often instead of saving up a bunch of changes to release all at once. So this version is centred around the best-fit or trend lines.

MultiScatterGraph with projected best-fit lines

Until now these lines were only supported by the scatter graphs, but now the line graphs support them too. The example graph above has four datasets and four best-fit lines, though the green and blue datasets are using the new best_fit_range and best_fit_project options. The best_fit_range option lets you specify the range of values to be used in calculating the angle of the best-fit line, and best_fit_project tells SVGGraph which bits of the line outside the range to draw.

By default the projected part of the line is drawn with a 4-pixel dash pattern, but there are best_fit_project_dash, best_fit_project_colour, best_fit_project_width and best_fit_project_opacity options for changing its appearance. There is some more explanation on the scatter graphs page.

Read more . . .

11/03/2016

JPEG Saver 4.16

JPEG Saver 4.16 is mainly a bugfix release, but there is one fairly major change that I think justifies version number 4.16 instead of 4.15.1.

First things first, the bug that is fixed in this version took about a month of confusion, testing, updates, more testing, rinse, repeat, etcetera between the user who reported the problem and myself before we found where the bug was and how to fix it. The problem was that the colours on his PCs were messed up - the red and blue components of the images and almost everything else on the screen were swapped. This happened overnight after a Windows update, which didn't help. In the end I traced it back to a problem with a DirectX texture, so this version fixes that and the colours are back to normal. Phew.

The one new feature in this version starts with an extra option in the installer marked “Windows Explorer integration”. What this does is add an extra entry to the Windows Explorer folders right-click context menu, named “JPEG Saver slideshow”. Choosing this option will start up JPEG Saver loading images from the selected folder, using your current config file but without its folders, filters or aspect ratio option. There are a couple of extra options in the “Interactive options” dialog so you can choose whether to use sequential mode and random start or not when using the slideshow. The selected folder is scanned recursively for images, so don't be surprised if it spends a long time “Finding images…” when you point it at your Program Files folder.

Read more . . .

01/03/2016

TagCanvas 2.9

TagCanvas 2.9 adds a couple of new options, adds some extra ways to colour the highlight and adds in missing support for the pulsate option.

You should be seeing a canvas here.

Highlighting with multicoloured marching ants

The cloud above demonstrates a couple of the new options added in this version. First, when you move the pointer of a tag you will see the highlight outline is displayed using “marching ants”. This is configured using the new outlineDash, outlineDashSpace and outlineDashSpeed options. The first one sets the size of the dashes in pixels, outlineDashSpace allows you to set a different sized space in between the dashes, and outlineDashSpeed lets you specify how fast the dashes move. The example cloud is using a dash size of 10 and a speed of 4. The default speed is 1 (which is quite slow) and you can also use negative values to make the dashes move in the opposite direction.

You may also have noticed that the highlight colour is not the same for all the tags in the example cloud above. Version 2.9 of TagCanvas has three ways to set the highlight colour for individual tags - the example is using the outlineColour option set to “tag”, which tells TagCanvas to get the highlight colour from the text of the tag's <a> links. It also supports a value of “tagbg” to use the background colour from the links instead. The third option for setting the highlight colour individually is to set the weightMode to “outline”, which colours the highlight using a weight gradient in the same way that the “colour” weight mode sets the tag text colour according to its weight.

Read more . . .

« Previous old newsNext old news »