News archive

05/11/2012

TagCanvas 1.19.1

There are two new options and one bug fixed in this minor update to TagCanvas. The new weightSizeMin and weightSizeMax options can be used to specify the minimum and maximum font sizes to use when using weighted tags. This is instead of the normal method of determining the font size from the tag itself or its data attribute.

The bug fixed in this version is the targetting of frames and iframes, which wasn't working before. One thing to note if you really must use a frameset is that IE9 puts the frame documents into quirks mode if you do not set the correct DOCTYPE for the frameset document. In quirks mode, TagCanvas doesn't work - the canvas element is not recognised.

The updated files are available from the TagCanvas page.

23/10/2012

SVGGraph 2.10

This updated version contains a whole load of changes, and a few new graph types too. The new CylinderGraph is shown below, and there are also new StackedBar3DGraph and GroupedBar3DGraph classes for 3D versions of the stacked and grouped bar graphs.

Cylinder graph

The shading to add depth to the sides of the cylinders in the graph above is also switched on by default in the updated 3D pie graphs. They both use a horizontal gradient which can be modified with the new depth_shade_gradient option. I've improved gradient handling throughout the library, so gradients can now be used as the background for the whole graph, for the grid area, and also for the legend and tooltips.

One huge change in this version is that I've set a fixed default colour set for the bars, pie slices, etc. In earlier versions the colours were chosen at random from the list of named colours supported in the SVG specification, but quite often the colours selected were not very helpful. The new colours are blue, red, yellow, green, orange and the same again in a darker shade.

Read more . . .

27/09/2012

Using the new TagCanvas centreFunc option

I've put together a new page that explains how to use the new centreFunc option that arrived in version 1.19. It's not the kind of thing that everyone will want to use, but it should be useful for some people.

If you want to know what I'm talking about, visit the new centre callback function page, and everything will become clear.

26/09/2012

TagCanvas 1.19

There are quite a few new features in this version of TagCanvas - more than I had intended, in fact. There are two new functions, two new shapes, several new options and a whole new control method. And some bugs fixed too.

The cloud above is an example of the new dragControl option in use. I've attempted to make it iPad/iPhone compatible, but not having an iPad or iPhone to play with means that I've had to do my testing with XCode's IOS simulator. I've tested drag control with the Android emulator and the Windows Phone emulator too, but the results are not encouraging. For some more details, I've added a page about the new drag controls.

The new functions I mentioned are for pausing and resuming the cloud animation. Since there are now a grand total of three functions, I've added a function reference page explaining how to use the functions in both the stand-alone and jQuery plugin versions of TagCanvas.

Read more . . .

29/08/2012

SVGGraph 2.9

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.

Read more . . .

« Previous old newsNext old news »

This site uses cookies - details here.