typedef enum
{
kSM2DGraph_Axis_Y = 0,
kSM2DGraph_Axis_X = 1,
kSM2DGraph_Axis_Y_Right = 2,
kSM2DGraph_Axis_Y_Left = kSM2DGraph_Axis_Y
} SM2DGraphAxisEnum;
When dealing with various properties of graph axis, these constants should be used.
Name Description kSM2DGraph_Axis_Y The Y axis of the graph. kSM2DGraph_Axis_X The X axis of the graph. kSM2DGraph_Axis_Y_Right Y axis on the right side of the graph. kSM2DGraph_Axis_Y_Left Y axis on left side of graph - equal to kSM2DGraph_Axis_Y.
typedef enum
{
kSM2DGraph_Dash_None = 0,
kSM2DGraph_Dash_Small,
kSM2DGraph_Dash_Large,
kSM2DGraph_Dash_Mixed,
kSM2DGraph_Dash_Default = kSM2DGraph_Dash_None
} SM2DGraphLineDashStyleEnum;
Symbols that can be used on line style graphs. Does nothing for bar style lines.
Name Description kSM2DGraph_Dash_None Plain lines - no dash. kSM2DGraph_Dash_Small Small dash. kSM2DGraph_Dash_Large Large dash. kSM2DGraph_Dash_Mixed Mixed dash : one small, one large, ... kSM2DGraph_Dash_Default Default dash style for lines - equal to kSM2DGraph_Dash_None.
typedef enum
{
kSM2DGraph_Width_None = 0,
kSM2DGraph_Width_Fine = 1,
kSM2DGraph_Width_Normal,
kSM2DGraph_Width_Wide,
kSM2DGraph_Width_3D,
kSM2DGraph_Width_Default = kSM2DGraph_Width_3D
} SM2DGraphLineWidthEnum;
Width of lines in the graph.
Name Description kSM2DGraph_Width_None No line is drawn; symbols may still be drawn. kSM2DGraph_Width_Fine Lines are drawn a half pixel wide. kSM2DGraph_Width_Normal Lines are drawn one pixel wide. kSM2DGraph_Width_Wide Lines are drawn two pixels wide. kSM2DGraph_Width_3D Lines are drawn with a fake 3D look; lighter line above and darker line below main line. kSM2DGraph_Width_Default Default width of lines - equal to kSM2DGraph_Width_3D.
typedef enum
{
kSM2DGraph_Symbol_None = 0,
kSM2DGraph_Symbol_Triangle,
kSM2DGraph_Symbol_Diamond,
kSM2DGraph_Symbol_Circle,
kSM2DGraph_Symbol_X,
kSM2DGraph_Symbol_Plus,
kSM2DGraph_Symbol_FilledCircle,
kSM2DGraph_Symbol_Square,
kSM2DGraph_Symbol_Star,
kSM2DGraph_Symbol_InvertedTriangle,
kSM2DGraph_Symbol_FilledSquare,
kSM2DGraph_Symbol_FilledTriangle,
kSM2DGraph_Symbol_FilledDiamond,
kSM2DGraph_Symbol_FilledInvertedTriangle,
kSM2DGraph_Symbol_FilledStar,
kSM2DGraph_Symbol_Default = kSM2DGraph_Symbol_None
} SM2DGraphSymbolTypeEnum;
Symbols that can be used on line style graphs. Does nothing for bar style lines.
Name Description kSM2DGraph_Symbol_None Plain lines - no symbol marking points. kSM2DGraph_Symbol_Triangle Open triangle marking line points. kSM2DGraph_Symbol_Diamond Open diamond marking line points. kSM2DGraph_Symbol_Circle Open circle marking line points. kSM2DGraph_Symbol_X X marking line points. kSM2DGraph_Symbol_Plus Plus symbol marking line points. kSM2DGraph_Symbol_FilledCircle Filled circle marking line points. kSM2DGraph_Symbol_Square Square marking line points. kSM2DGraph_Symbol_Star Star marking line points. kSM2DGraph_Symbol_InvertedTriangle Down-pointing triangle marking line points. kSM2DGraph_Symbol_FilledSquare Filled square marking line points. kSM2DGraph_Symbol_FilledTriangle Filled triangle marking line points. kSM2DGraph_Symbol_FilledDiamond Filled diamond marking line points. kSM2DGraph_Symbol_FilledInvertedTriangle Filled down-pointing triangle marking line points. kSM2DGraph_Symbol_FilledStar Filled star marking line points. kSM2DGraph_Symbol_Default Default symbol for lines - equal to kSM2DGraph_Symbol_None.
© 2002-2009 Snowmint Creative Solutions LLC (Last Updated 4/13/2009)