SVGGraph 2.9

Published

Since the release of version 2.8 of SVGGraph I've had quite a few emails about bugs and suggestions for new features. Version 2.9 fixes some things that were broken, improves some things that were not very good and adds some things that were not there before.

Bar labels

The biggest problem fixed by this version is the sizing and spacing of the axis text labels. In previous versions the longest label was guessed from the largest number (or the longest key for associative data). This worked some of the time, but failed when the axis subdivisions produced longer strings - the largest value could be “1”, but the longest label could be “0.125”. This version finds all the labels in advance to determine the longest.

Other bugs and annoyances fixed in this version include graphs not using unique IDs for clip paths, causing problems with multiple graphs in HTML5; line graphs not extending the full width of the graph area; line graphs drawing lines down to the axis when filling is enabled; multi-line guide line titles being spaced incorrectly; empty data sets causing errors; uneven grid subdivisions.

Added features include the bar labels shown in the example above - these are enabled with the show_bar_labels option and work for all non-3D bar and horizontal bar graphs. There are options for where to put the labels and some font styling options.

The line and scatter graphs now support many more marker shapes and have some new border options, described on this new page. The axes and grid have a whole bunch of new options too, with another new page to demonstrate some of the possibilities.

Other additions include some more guide line options, used in the example above set the length of the dashed line, and gradient opacity control. There is a new encoding option, which sets the SVG document character encoding to UTF-8 by default, though you can change this to the encoding of your choice (or none at all). Finally, the legend supports multiple columns with the new legend_columns option.

The new zip and tar files are available from the downloads page.

« Previous: JPEG Saver 4.6.1 Next: TagCanvas 1.19 »

This site uses cookies - details here.