Search Locate Previous Next Contents

chQuery – query chart properties

This is a specialist function to allow general-purpose routines to have access to current settings.

xx„chQuery 'key' 'heading'

This will retrieve the current values of the chart key and chart heading. Only the first two characters are significant here, and case is ignored. It will accept an optional boolean flag which returns the setting as the ‘string’ value rather than the internal (usually numeric) codes, for example:

      chQuery 'hf'
4 18 2
      1 chQuery 'hf'
TII,18,Navy

Note that the ordering of the properties in the string may not be the same as the ordering of the integer codes.



Continue to: chRangeAxes – set axis ranges
© Copyright Causeway Graphical Systems Ltd 2003