PEGraphAxisInfo

PEGraphAxisInfo contains information about the gridline options, data ranges and formats and axis division features for the specified chart.

C Syntax
//axis division method
#define PE_ADM_AUTOMATIC                0
#define PE_ADM_MANUAL                   1
typedef struct PEGraphAxisInfo {
    WORD StructSize;
    short groupAxisGridLine;
    short dataAxisYGridLine;
    short dataAxisY2GridLine;
    short seriesAxisGridline;
    double dataAxisYMinValue;
    double dataAxisYMaxValue;
    double dataAxisY2MinValue;
    double dataAxisY2MaxValue;
    double seriesAxisMinValue;
    double seriesAxisMaxValue;
    short dataAxisYNumberFormat;
    short dataAxisY2NumberFormat;
    short seriesAxisNumberFormat;
    short dataAxisYAutoRange;
    short dataAxisY2AutoRange;
    short seriesAxisAutoRange;
    short dataAxisYAutomaticDivision; //PE_ADM_* or PE_UNCHANGED for no change
    short dataAxisY2AutomaticDivision; //PE_ADM_* or PE_UNCHANED for no change
    short seriesAxisAutomaticDivision; //PE_ADM_* or PE_UNCHANED for no change
    long dataAxisYManualDivision; //if dataAxisYAutomaticDivision is PE_ADM_AUTOMATIC, this field is ignored
    long dataAxisY2ManualDivision;
    long seriesAxisManualDivision; //if seriesAxisAutomaticDivision is PE_ADM_AUTOMATIC, this field is ignored
    short dataAxisYAutoScale;
    short dataAxisY2AutoScale;
    short seriesAxisAutoScale;
} PEGraphAxisInfo;
Members

StructSize

Specifies the size of the PEGraphAxisInfo structure. Initialize this member to PE_SIZEOF_GRAPH_AXIS_INFO.

groupAxisGridLine

Specifies GridLine option. Use one of the PE_GGT_XXX Chart Gridline Constants, or PE_UNCHANGED for no change.

dataAxisYGridLine

Specifies GridLine option. Use one of the PE_GGT_XXX Chart Gridline Constants, or PE_UNCHANGED for no change.

dataAxisY2GridLine

Specifies GridLine option. Use one of the PE_GGT_XXX Chart Gridline Constants, or PE_UNCHANGED for no change.

seriesAxisGridline

Specifies GridLine option. Use one of the PE_GGT_XXX Chart Gridline Constants, or PE_UNCHANGED for no change.

dataAxisYMinValue

Specifies the minimum value for the axis.

dataAxisYMaxValue

Specifies the maximum value for the axis.

dataAxisY2MinValue

Specifies the minimum value for the axis.

dataAxisY2MaxValue

Specifies the maximum value for the axis.

seriesAxisMinValue

Specifies the minimum value for the axis.

seriesAxisMaxValue

Specifies the maximum value for the axis.

dataAxisYNumberFormat

Specifies the format for the display of numeric values on the chart. Use one of the PE_GNF_XXX Chart Number Format Constants, or PE_UNCHANGED for no change.

dataAxisY2NumberFormat

Specifies the format for the display of numeric values on the chart. Use one of the PE_GNF_XXX Chart Number Format Constants, or PE_UNCHANGED for no change.

seriesAxisNumberFormat

Specifies the format for the display of numeric values on the chart. Use one of the PE_GNF_XXX Chart Number Format Constants, or PE_UNCHANGED for no change.

dataAxisYAutoRange

Boolean, or PE_UNCHANGED for no change. If TRUE, the axis will autorange.

dataAxisY2AutoRange

Boolean, or PE_UNCHANGED for no change. If TRUE, the axis will autorange.

seriesAxisAutoRange

Boolean, or PE_UNCHANGED for no change. If TRUE, the axis will autorange.

dataAxisYAutomaticDivision

PE_ADM_AUTOMATIC, PE_ADM_MANUAL, or PE_UNCHANGED for no change.

dataAxisY2AutomaticDivision

PE_ADM_AUTOMATIC, PE_ADM_MANUAL, or PE_UNCHANGED for no change.

seriesAxisAutomaticDivision

PE_ADM_AUTOMATIC, PE_ADM_MANUAL, or PE_UNCHANGED for no change.

dataAxisYManualDivision

If the corresponding axis m_dataAxisYAutomaticDivision is PE_ADM_AUTOMATIC, this field is ignored.

dataAxisY2ManualDivision

If the corresponding axis m_dataAxisY2AutomaticDivision is PE_ADM_AUTOMATIC, this field is ignored.

seriesAxisManualDivision

If the corresponding axis m_seriesAxisAutomaticDivision is PE_ADM_AUTOMATIC, this field is ignored.

dataAxisYAutoScale

Boolean, or PE_UNCHANGED for no change. If TRUE, the axis will autoscale.

dataAxisY2AutoScale

Boolean, or PE_UNCHANGED for no change. If TRUE, the axis will autoscale.

seriesAxisAutoScale

Boolean, or PE_UNCHANGED for no change. If TRUE, the axis will autoscale.

VB Type Listing
Type PEGraphAxisInfo
    StructSize As Integer
    groupAxisGridLine As Integer
    dataAxisYGridLine As Integer
    dataAxisY2GridLine As Integer
    seriesAxisGridline As Integer
    dataAxisYMinValue As Double
    dataAxisYMaxValue As Double
    dataAxisY2MinValue As Double
    dataAxisY2MaxValue As Double
    seriesAxisMinValue As Double
    seriesAxisMaxValue As Double
    dataAxisYNumberFormat As Integer
    dataAxisY2NumberFormat As Integer
    seriesAxisNumberFormat As Integer
    dataAxisYAutoRange As Integer
    dataAxisY2AutoRange As Integer
    seriesAxisAutoRange As Integer
    dataAxisYAutomaticDivision As Integer
    dataAxisY2AutomaticDivision As Integer
    seriesAxisAutomaticDivision As Integer
    dataAxisYManualDivision As Long
    dataAxisY2ManualDivision As Long
    seriesAxisManualDivision As Long
    dataAxisYAutoScale As Integer
    dataAxisY2AutoScale As Integer
    seriesAxisAutoScale As Integer
End Type
Delphi Record Listing
type
PEGraphAxisInfo = record
StructSize : Word;
groupAxisGridLine : Smallint;
dataAxisYGridLine : Smallint;
dataAxisY2GridLine : Smallint;
seriesAxisGridline : Smallint;
dataAxisYMinValue : double;
dataAxisYMaxValue : double;
dataAxisY2MinValue : double;
dataAxisY2MaxValue : double;
seriesAxisMinValue : double;
seriesAxisMaxValue : double;
dataAxisYNumberFormat : Smallint;
dataAxisY2NumberFormat : Smallint;
seriesAxisNumberFormat : Smallint;
dataAxisYAutoRange : Smallint;
dataAxisY2AutoRange : Smallint;
seriesAxisAutoRange : Smallint;
dataAxisYAutomaticDivision : Smallint;
dataAxisY2AutomaticDivision : Smallint;
seriesAxisAutomaticDivision : Smallint;
dataAxisYManualDivision : Longint;
dataAxisY2ManualDivision : Longint;
seriesAxisManualDivision : LongInt;
end;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com