CAxisSettings members
CAxisSettings is derived from CDialog. It can be called simply as follows:
CAxisSettings dialog( NULL, this );
dialog.m_CurAxis = whichAxis; // whichAxis is zero-based
if( dialog.DoModal() == IDOK )
{
// Need to update chart
}
CAxisSettings requires that the dialog resource with id IDD_AXIS_SETTINGS exist in the current file. See the tutorial for more information on copying resources.
These are the members of CAxisSettings:
Functions
- CAxisSettings( CWnd* pParent, CChart *chart ) - The default constructor requires a pointer to a chart object from which to obtain the current axis settings, and to copy the settings back into. The parent window can be NULL or point to the parent window.
Variables
- int m_CurAxis - Set to the axis to display before calling DoModal. Default = 0
CPlot Reference