graphics.hlp (
Topic list)
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;