Enumerations



SM2DGraphAxisEnum

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.

Constants

NameDescription
kSM2DGraph_Axis_YThe Y axis of the graph.
kSM2DGraph_Axis_XThe X axis of the graph.
kSM2DGraph_Axis_Y_RightY axis on the right side of the graph.
kSM2DGraph_Axis_Y_LeftY axis on left side of graph - equal to kSM2DGraph_Axis_Y.

SM2DGraphLineDashStyleEnum

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.

Constants

NameDescription
kSM2DGraph_Dash_NonePlain lines - no dash.
kSM2DGraph_Dash_SmallSmall dash.
kSM2DGraph_Dash_LargeLarge dash.
kSM2DGraph_Dash_MixedMixed dash : one small, one large, ...
kSM2DGraph_Dash_DefaultDefault dash style for lines - equal to kSM2DGraph_Dash_None.

SM2DGraphLineWidthEnum

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.

Constants

NameDescription
kSM2DGraph_Width_NoneNo line is drawn; symbols may still be drawn.
kSM2DGraph_Width_FineLines are drawn a half pixel wide.
kSM2DGraph_Width_NormalLines are drawn one pixel wide.
kSM2DGraph_Width_WideLines are drawn two pixels wide.
kSM2DGraph_Width_3DLines are drawn with a fake 3D look; lighter line above and darker line below main line.
kSM2DGraph_Width_DefaultDefault width of lines - equal to kSM2DGraph_Width_3D.

SM2DGraphSymbolTypeEnum

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.

Constants

NameDescription
kSM2DGraph_Symbol_NonePlain lines - no symbol marking points.
kSM2DGraph_Symbol_TriangleOpen triangle marking line points.
kSM2DGraph_Symbol_DiamondOpen diamond marking line points.
kSM2DGraph_Symbol_CircleOpen circle marking line points.
kSM2DGraph_Symbol_XX marking line points.
kSM2DGraph_Symbol_PlusPlus symbol marking line points.
kSM2DGraph_Symbol_FilledCircleFilled circle marking line points.
kSM2DGraph_Symbol_SquareSquare marking line points.
kSM2DGraph_Symbol_StarStar marking line points.
kSM2DGraph_Symbol_InvertedTriangleDown-pointing triangle marking line points.
kSM2DGraph_Symbol_FilledSquareFilled square marking line points.
kSM2DGraph_Symbol_FilledTriangleFilled triangle marking line points.
kSM2DGraph_Symbol_FilledDiamondFilled diamond marking line points.
kSM2DGraph_Symbol_FilledInvertedTriangleFilled down-pointing triangle marking line points.
kSM2DGraph_Symbol_FilledStarFilled star marking line points.
kSM2DGraph_Symbol_DefaultDefault symbol for lines - equal to kSM2DGraph_Symbol_None.

© 2002-2009 Snowmint Creative Solutions LLC (Last Updated 4/13/2009)