CAxis member functions
These are the member functions of CAxis:
Construction/Destruction
CAxis
- Default constructor
~CAxis
- Default destructor
Utility
SetDefaults
- Set the default settings for an axis
OnDraw
- Draw the axis
Serialize
- Save or restore an axis
GetMinDisplaySize
- Get the bounding rectangle for the axis
CopyAxis
- Copy axis settings
IsVisible
- Is the axis visible (not used)
IsRangeSet
- Has the user set the range for this axis
GetPaddingSize
- Get size of space beyond plot size needed by axis for tick labels
AddAxisPopupMenus
- Create a shortcut menu for an axis
AddNumberOfTicksPopup
- Add a popup menu for # of ticks to display
InterpretAxisPopupMenuItem
- Interpret the choice of a popup menu and take action
Settings
Ticks
GetTickCount
- Return the number of major ticks
SetTickCount
- Set the number of major ticks
GetMinorTickCount
- Return the number of minor ticks
SetMinorTickCount
- Set the number of minor ticks
GetTickPosition
- Get the data position of a tick
GetTickLabel
- Get the label of a tick mark
Range
GetRange
- Get the range of the axis
SetRange
- Set the range of the axis
GetUpperRange
- Get the upper range of the axis
GetLowerRange
- Get the lower range of the axis
Title
GetTitle
- Returns the title of the axis
SetTitle
- Sets the title of the axis
Location
GetLocation
- Get the location (top, left, etc.) of the axis
SetLocation
- Set the location (top, left, etc.) of the axis
Color
GetColor
- Get the color of the labels and tick marks
SetColor
- Set the color the labels and tick marks
GetTitleColor
- Get the color of the axis title
SetTitleColor
- Set the color of the axis title
Line Size
GetLineSize
- Get the size of the line for the tick marks
SetLineSize
- Set the size of the line for the tick marks
CPlot Reference