Search Locate Previous Next Contents

chNextNote – y-position of next note

Returns the correct position for the next note text in points (absolute style) or chart co-ords (relative style). You can use this to position a set of notes (for example a subheading followed by one or more wrapped paragraphs) correctly on the chart.

vpos„chNextNote 6  © add 6pt headspace

This spaces vertically down by <vspace> (in points always) from the calculated baseline for the next text output. Pass 0 here to have the text flow naturally, or 12 to add a line of space between paragraphs. The resulting <ypos> is returned in chart co-ordinates if you positioned your note this way, or in absolute (points) co-ordinates relative to the lower left corner of the current frame if you placed your note with style ‘absolute’.

See also ...
chNote – add chart notes
NoteStyle – note style


Continue to: chQuery – query chart properties
© Copyright Causeway Graphical Systems Ltd 2003