PEGraphOptionInfo

PEGraphOptionInfo contains information about chart appearance and is used by PEGetGraphOptionInfo, and PESetGraphOptionInfo.

C Syntax
typedef struct PEGraphOptionInfo {
    WORD StructSize;
    short graphColour;
    short showLegend;
    short legendPosition;
    short pieSize;
    short detachedPieSlice;
    short barSize;
    short verticalBars;
    short markerSize;
    short markerShape;
    short dataPoints;
    short dataValueNumberFormat;
    short viewingAngle;
    short legendLayout;
} PEGraphOptionInfo;
Members

StructSize

Specifies the size of the PEGraphOptionsInfo structure. Initialize this member to PE_SIZEOF_GRAPH_OPTION_INFO.

graphColour

Use one of the PE_GCR_XXX Chart Options Constants, or PE_UNCHANGED for no change.

showLegend

BOOLEAN. Use TRUE to show the chart legend, FALSE to hide the chart legend, or PE_UNCHANGED for no change.

legendPosition

Use one of the PE_GLP_XXX Chart Options Constants, or PE_UNCHANGED for no change. Valid only if showLegend is TRUE.

pieSize

For pie charts and doughnut charts, use one of the PE_GPS_XXX Chart Pie Size Constants, or PE_UNCHANGED for no change.

detachedPie
Slice

For pie charts and doughnut charts, use one of the PE_GDPS_XXX Chart Slice Detachment Constants, or PE_UNCHANGED for no change.

barSize

For bar charts, use one of the PE_GBS_XXX Chart Bar Size Constants, or PE_UNCHANGED for no change.

verticalBars

BOOLEAN. For bar charts, use TRUE if the chart will have vertical bars, FALSE if the chart will not have vertical bars, or PE_UNCHANGED for no change.

markerSize

For line charts and bar charts, use one of the PE_GMS_XXX Chart Marker Size Constants, or PE_UNCHANGED for no change.

markerShape

For line charts and bar charts, use one of the PE_GMSP_XXX Chart Marker Shape Constants, or PE_UNCHANGED for no change.

dataPoints

Use one of the PE_GDP_XXX Chart Data Point Constants, or PE_UNCHANGED for no change.

dataValue
NumberFormat

Use one of the PE_GNF_XXX Chart Number Format Constants, or PE_UNCHANGED for no change.

viewingAngle

For 3D charts, use one of the PE_GVA_XXX Chart Viewing Angle Constants, or PE_UNCHANGED for no change.

legendLayout

Specifies the legend layout. Use one of the PE_GLL_XXX Chart Legend Layout Constants.

VB Type Listing
Type PEGraphOptionInfo
    StructSize As Integer
    graphColour As Integer
    showLegend As Integer
    legendPosition As Integer
    pieSize As Integer
    detachedPieSlice As Integer
    barSize As Integer
    verticalBars As Integer
    markerSize As Integer
    markerShape As Integer
    dataPoints As Integer
    dataValueNumberFormat As Integer
    viewingAngle As Integer
    legendLayout As Integer
End Type
Delphi Record Listing
type
PEGraphOptionInfo = record
StructSize : Word;
graphColour : Smallint;
showLegend : Smallint;
legendPosition : Smallint;
pieSize : Smallint;
detachedPieSlice : Smallint;
barSize : Smallint;
verticalBars : Smallint;
markerSize : Smallint;
markerShape : Smallint;
dataPoints : Smallint;
dataValueNumberFormat : Smallint;
viewingAngle : Smallint;
end


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