Search Locate Previous Next Contents

chStep – step charts

Accepts an array giving the step points (e.g. month ends) and the Y-value at the top of each step.

chStep values

Examples

chSet('Style' 'Boxed,Risers')('Head' 'Step Chart')('NStyle' 'Boxed')('Hmar' 14 18)
chSet('XStyle' 'Labmid')('Xlab' '0-9,10-20,21-35,36-50,51-70,71+')('Xtick' 0 10 20 35 50 70 100)
chStep(0 10 20 35 50 70 100)(12.5 14 30 28 12.5 3)
chNote'A note;is here!'(70 30)
PG„chClose

See the various Rainfall charts for examples of use. This may also be used with style ‘floating’ to draw a simple stepped line, suitable for interest-rate charts.


The Interest example shows the effect.

See also ...
Stepchart style


Continue to: chTable – table charts
© Copyright Causeway Graphical Systems Ltd 2003