Changes up to 27th October 2004

Gridlines – if you set ‘exact,framed’ on the y-axis the top gridline was not drawn, as it was assumed that it would be directly under the frame. Fixed.

ch.Vline – calling this with a 3-element vector of (x)(max)(min) failed as it incorrectly patched on an extra column of x-values. Now works correctly for the nested vector case as well as the 3-column matrix case.

Clipping – related problem was that the clipping rectangle was set to the tick- mark range, not the total extent of the plot region. This is fixed, and we also now adjust the rectangle inwards for thick lines (or heavy axes) so that the clipped lines don’t barge into the chart frame at the edges. For thin lines the effect is to leave a little white-space at the boundaries, which looks more like a hand-drawn plot, so is probably an improvement!

Datum lines – it seems reasonable to kill any datumlines and/or baseline if they fall outside the plotting region and the appropriate axis is ‘clipped’.

Framed axes – should complete frame correctly if the Y-intercept is set so the x-axis falls below the bottom y-tickmark. Fixed. Also we should not remove the leftmost X-label if the y-axis has been moved downwards! Also fixed. Grid lines, zones and datum lines now extend down to the x-axis in this case.

Dissected axes – a popular style in the RSS Journal, so we should do it. This simply backs off all axes one tick-length from the plotting area. Applies to any of the rectangular 2D charts.


Redraw style – removed in favour of ch.DrawAxes which makes it much clearer when this actually happens. Most plots which need the axes last (like barcharts) already do this automatically, so this should be needed only very rarely.

Index-origin – when set as zero we should not dummy the first X-label. Fixed.

Clipping – the July adjustment to the clipping rect has the side-effect of throwing away any markers which exactly hit the boundary. Now we apply the full cliprect to markers and risers and only trim lines slightly within the available space.

Curves style – applies to line and polar charts. Points are joined with a set of smooth (Bezier) curves rather than with straight lines. The flexibility setting is used to control how ‘bendy’ the lines are allowed to become, and can range from 0 (straight lines) through 3 (the default should be reasonable in most cases) to around 12 where things may start to go a little wild. See the temperature data in PolarCurves for a fairly legitimate use of this style.


Pie wedges ignored ‘Edge attribute’ colour in EPS output – always black! Fixed.

Polar charts gain style ‘hollow’ to stop the radial grid at the innermost x-tick leaving the centre empty.

Boxplots gain style ‘horizontal’ which draws the bars from left to right instead of vertically. Useful if you have fairly wordy bar labels. See example Barley3 for the transpose of the usual demo.


© Causeway Graphical Systems Ltd 1996-2009