graphics.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
axistype
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:    <pgchart.h>
 
  Structure:
 
  typedef struct
  {
      short grid;          // TRUE=grid lines drawn; FALSE=no lines
      short gridstyle;     // Style number from style pool for grid line
      titletype axistitle; // Title definition for axis
      short axiscolor;     // Color for axis
      short labeled;       // TRUE=tic marks and titles drawn
      short rangetype;     // _PG_LINEARAXIS, _PG_LOGAXIS
      float logbase;       // Base used if log axis
      short autoscale;     // TRUE=next 7 values calculated by system
      float scalemin;      // Minimum value of scale
      float scalemax;      // Maximum value of scale
      float scalefactor;   // Scale factor for data on this axis
      titletype scaletitle;// Title definition for scaling factor
      float ticinterval;   // Distance between tic marks (world coord.)
      short ticformat;     // _PG_EXPFORMAT or _PG_DECFORMAT for
                           //   tic labels
      short ticdecimals;   // Number of decimals for tic labels (max=9)
  } axistype;