Search Locate Previous Next Contents

Style – chart style

Accepts a wide range of keywords which set global options for the current chart. These can subsequently be reset by prefixing the option with ‘no’ as in ‘nolines’ to plot with markers only.

ch.Set 'boxed,forcezero'
ch.Set ('style' 'boxed,nolines')('xtick' 5 4)( ... etc)

The keyword ‘style’ can be omitted in this case, but only if you set the style option on its own, as in the first example.

Options in detail
lines:nolinesDraw lines
marker:nomarkerAdd markers
fill:nofillFill area within each line
kite:nokiteDraw trace charts as kite diagrams
halo:nohaloAdd halo to markers
surface:nosurfaceShade below the lines
arrow:noarrowAdd arrowheads to risers
cells:nocellsRecord xy co-ordinates as cells (see Cellsize)
grouped:stacked:floating:horizBarchart options
shaded:floatingStepchart options
axes:noaxesDraw Axis lines (both)
framed:noframedDraw axes all around chart area
rows:columnsData series presented across or down
spider:nospiderUse keys as spider tags in piecharts
XYplot:timeseries1st column gives x-values
relative:absoluteAccumulate data values
index:noindexRe-base values to run from 100
forcezero:noforceOrigin must go through zero
risers:norisersDraw risers on step chart
tile:notileTile response surfaces
errorbars:noerrorbarsDraw MinMax as error-bar plot
arrows:noarrowsAdd arrowheads to MinMax, Dial and line plots
wedge:annularWarning zones on dial plots drawn as complete sectors
values:novaluesAdd values to bars or beside markers
trend:notrendDraw a simple trendline through a scatter plot
model:nomodelFit a straight line or polynomial through the data
growth:nogrowthFit an exponential growth (or decay) curve
annotate:noannotateAdd a note to the line giving the fit coefficients

Options shown in bold are the normal default settings. You can over-ride any of these using ch.SetDefault at initialisation time. If you set an inappropriate style (for example you choose ‘tile’ for a barchart) it will be accepted but ignored.

See also ...
ch.SetDefault – change shipped settings
FrameStyle – style of chart frame


Continue to: Subhead – chart subheading
© Copyright Causeway Graphical Systems Ltd 2003