Search Locate Previous Next Contents

ch.Step – step charts

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

ch.Step values

Examples

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

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: ch.Table – table charts
© Copyright Causeway Graphical Systems Ltd 2003