Goat 1000 home

Welcome to Goat 1000 - this is where you'll find some of the bits and pieces of software that I cobble together for fun. Please feel free to download them and try them out. All this stuff is freeware, no guarantee that it will do anything, etc. (though if it does fail to do anything, please let me know!)

RSS Feed

News

14/06/2019

SVGGraph 3.0.1

SVGGraph 3.0.1 is a bugfix release, but there are a lot of changes in it. Sometimes you just have to rip up the floorboards to kill that annoying insect.*

2,75px s'il vous plaƮt

The bug that caused all these changes is a very simple one: PHP automatically converts numbers to strings using its current locale. This makes perfect sense, but it meant that running SVGGraph in a locale that uses a comma instead of a full-stop for the decimal separator produced garbled SVG output. SVG always uses a full-stop for its decimal separator, with commas or spaces used for separating values.

Read more . . .

15/03/2019

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 EmptyGraph

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

Read more . . .

09/01/2019

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.

Shapes with added figures, marker and image

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.

Read more . . .

Older news . . .

Sections

Contact me

If you want to contact me, my email address is at the bottom of the Readme.txt file or PDF in any of the zip files, or in the source of Javascript files, or you could try to figure it out from a combination of my name, (graham) this domain name (goat1000.com) and the @ sign.

About this site

All pages on this site are written in PHP. Syntax highlighting is performed using GeSHi. Titles and sub-titles use the Diavlo font by Jos Buivenga (exljbris), with CSS @font-face files generated by the Font Squirrel @font-face generator.

The site uses cookies, find out more

Site search

The search box on this web site (“Search Box”) is powered by Google Inc (“Google”). You acknowledge and agree that Google's privacy policy (located at http://www.google.co.uk/privacy.html) shall apply to your use of the Search Box and by using the Search Box you consent to Google using your personal data in accordance with its privacy policy.

Updated 14/06/2019.