SVGGraph 2.7

Published

This version of SVGGraph mainly adds something I had hoped to get into earlier versions, but ended up being more work than I had anticipated - target lines. I've called them "guide lines" because when I was working on them I didn't spend too much time figuring out what they were really called, and when I did find out I didn't think the name really fit any better than "guide line".

A graph with a guide line

I've also put some work into making this version much easier to use to embed the SVG graphs directly into HTML5 or XHTML pages. With previous versions, embedding more than one graph would give you duplicate IDs in the page and multiple copies of the same Javascript functions and variables - which would cause some or all of the Javascript to fail. To get around this, I've added a new function, FetchJavascript(), to build the Javascript for the graphs separately to the SVG content. I've created a new SVG in HTML page to provide some more information about how to set it up.

Smaller changes include support for setting the angle of the text of the axis labels (axis_text_angle_h and axis_text_angle_y), a new legend_shadow_opacity option for the legend, which didn't have a shadow in the previous version, and I improved the way the legend dragging works too.

I've fixed bugs with the MultiLineGraph and data with gaps in, fixed a bug where the grid was miscalculated when setting fixed ends, and made vertical gradients in filled line graphs work better when the grid is not showing the whole data range. The stacked and grouped graph SVG output has been improved to reduce the size too.

The new version of SVGGraph is available from the downloads page, and some details and examples of the guide lines are on the new guide or target lines page.

« Previous: CRCDropper 3.4 Next: TagCanvas 1.18 »

This site uses cookies - details here.