⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 2dconst.h

📁 写入WORD;动态画曲线;查看磁盘资源等。
💻 H
📖 第 1 页 / 共 2 页
字号:
#if !defined( OC_ERROR_CONSTANTS )
#define OC_ERROR_CONSTANTS

enum /* ErrorConstants */               /* Specifies the error detected by the chart. */
{
    ocErrorInvalidIndex = 0,            /* Invalid index found in variant */
    ocErrorReadOnly = 1,                /* Property is read-only and cannot be modified */
    ocErrorOutOfRange = 2,              /* Numeric value is out of range */
    ocErrorInvalidEnum = 3,             /* Invalid enumerated value for property */
    ocErrorInvalidValue = 4,            /* Invalid value for property */
    ocErrorNoSuchProperty = 5,          /* Property does not exist for this instance of the object */
    ocErrorDuplicateValue = 6,          /* Collection already contains a duplicate value */
    ocErrorNoSuchItem = 7,              /* Cannot find item in collection */
    ocErrorCannotCreateObject = 8,      /* Cannot create object */
    ocErrorTypeMismatch = 9,            /* Property set to wrong object type */
    ocErrorReadOnlyWhenBound = 10,      /* Property is read-only when the chart group is bound */
    ocErrorBadArrayDimensions = 11,     /* Wrong dimensions in SafeArray passed to a function */
    ocErrorNotConnected = 12,           /* Object does not have a parent */
    ocErrorInvalidFormat = 13,          /* Invalid custom format */
    ocErrorDllNotCompatible = 14,       /* DLL version is not compatible */
    ocErrorSeriesArrayNotOne = 15,      /* Series index must be 1 for Array data layout */
};

#endif

enum /* AdjustConstants */              /* Specifies the alignment of multiple lines of text. */
{
    oc2dAdjustLeft = 1,                 /* Aligned to left edge. */
    oc2dAdjustRight = 2,                /* Aligned to right edge. */
    oc2dAdjustCenter = 3,               /* Centered. */
};

enum /* OrientationConstants */         /* Specifies the orientation. */
{
    oc2dOrientVertical = 1,             /* Vertical orientation. */
    oc2dOrientHorizontal = 2,           /* Horizontal orientation. */
};

enum /* AnchorConstants */              /* Specifies the position of the object relative to the anchor position. */
{
    oc2dAnchorNorth = 16,               /* Above anchor position. */
    oc2dAnchorSouth = 32,               /* Below anchor position. */
    oc2dAnchorEast = 1,                 /* To right of anchor position. */
    oc2dAnchorWest = 2,                 /* To left of anchor position. */
    oc2dAnchorNorthEast = 17,           /* Above and to right of anchor position. */
    oc2dAnchorNorthWest = 18,           /* Above and to left of anchor position. */
    oc2dAnchorSouthEast = 33,           /* Below and to right of position. */
    oc2dAnchorSouthWest = 34,           /* Below and to left of position. */
    oc2dAnchorCenter = 0,               /* Center over anchor position (ChartLabel object only). */
    oc2dAnchorAuto = 256,               /* Automatically position the object (ChartLabel object only). */
};

enum /* AnnotationMethodConstants */    /* Specifies the annotation method. */
{
    oc2dAnnotateValues = 0,             /* Annotate using chart's X- or Y-values. */
    oc2dAnnotatePointLabels = 1,        /* Annotate using Point-labels (X-axis only). */
    oc2dAnnotateValueLabels = 2,        /* Annotate using ValueLabels property. */
    oc2dAnnotateTimeLabels = 3,         /* Annotate using Time-labels (X-axis only). */
};

enum /* AnnotationPlacementConstants */  /* Specifies the placement of the axis annotation and title. */
{
    oc2dAnnotateAuto = 0,               /* Annotation placement automatically determined. */
    oc2dAnnotateOrigin = 1,             /* Annotation along the origin. */
    oc2dAnnotateMinimum = 2,            /* Annotation along the axis minimum. */
    oc2dAnnotateMaximum = 3,            /* Annotation along the axis maximum. */
};

enum /* AttachMethodConstants */        /* Specifies how a chart label is attached to a chart. */
{
    oc2dAttachCoord = 0,                /* Attach at specified pixel coordinate. */
    oc2dAttachDataCoord = 1,            /* Attach to specified data coordinates. */
    oc2dAttachDataIndex = 2,            /* Attach to specified data indices. */
    oc2dAttachDataIndexDataY = 3,       /* Attach using data index for X coordinate, and data value for Y coordinate. */
};

enum /* AxisIDConstants */              /* Specifies a chart axis. */
{
    oc2dAxisX = 0,                      /* X-axis. */
    oc2dAxisY = 1,                      /* Y-axis. */
    oc2dAxisY2 = 2,                     /* Y2-axis (second Y-axis). */
};

enum /* BorderTypeConstants */          /* Valid border styles. */
{
    oc2dBorderNone = 0,                 /* Border None */
    oc2dBorder3DOut = 1,                /* Border 3D Out */
    oc2dBorder3DIn = 2,                 /* Border 3D In */
    oc2dBorderShadow = 3,               /* Border Shadow */
    oc2dBorderPlain = 4,                /* Border Plain */
    oc2dBorderEtchedIn = 5,             /* Border Etched In */
    oc2dBorderEtchedOut = 6,            /* Border Etched Out */
    oc2dBorderFrameIn = 7,              /* Border Frame In */
    oc2dBorderFrameOut = 8,             /* Border Frame Out */
    oc2dBorderBevel = 9,                /* Border Bevel */
};

enum /* DataLayoutConstants */          /* Specifies the layout of the data to be graphed. */
{
    oc2dDataArray = 1,                  /* Array data. */
    oc2dDataGeneral = 2,                /* General data. */
};

enum /* DisplayConstants */             /* Specifies the visibility of the item. */
{
    oc2dDisplayShow = 1,                /* Show */
    oc2dDisplayHide = 2,                /* Hide */
    oc2dDisplayExclude = 3,             /* Exclude */
};

enum /* FillPatternConstants */         /* Valid fill patterns. */
{
    oc2dFillNone = 1,                   /* None */
    oc2dFillSolid = 2,                  /* Solid */
    oc2dFill25Percent = 3,              /* 25 % */
    oc2dFill50Percent = 4,              /* 50 % */
    oc2dFill75Percent = 5,              /* 75 % */
    oc2dFillHorizontalStripe = 6,       /* Horizontal Stripe */
    oc2dFillVerticalStripe = 7,         /* Vertical Stripe */
    oc2dFill45DegreeStripe = 8,         /* 45 Degree Stripe */
    oc2dFill135DegreeStripe = 9,        /* 135 Degree Stripe */
    oc2dFillDiagHatched = 10,           /* Diagonal Hatched */
    oc2dFillCrossHatched = 11,          /* Cross Hatched */
    oc2dFillBackwardDiagonal = 12,      /* Backward Diagonal */
    oc2dFillCross = 13,                 /* Cross */
    oc2dFillDiagonalCross = 14,         /* Diagonal Cross */
    oc2dFillForwardDiagonal = 15,       /* Forward Diagonal */
    oc2dFillHorizontal = 16,            /* Horizontal */
    oc2dFillVertical = 17,              /* Vertical */
};

enum /* FocusConstants */               /* Specifies how the nearest series and point value are determined. */
{
    oc2dFocusX = 1,                     /* Use X-axis to determine closest value. */
    oc2dFocusY = 2,                     /* Use Y-axis to determine closest value. */
    oc2dFocusXY = 3,                    /* Use both axes to determine closest value. */
};

enum /* LinePatternConstants */         /* Valid line patterns. */
{
    oc2dLineNone = 1,                   /* None */
    oc2dLineSolid = 2,                  /* Solid */
    oc2dLineLongDash = 3,               /* Long Dash */
    oc2dLineDotted = 4,                 /* Dotted */
    oc2dLineShortDash = 5,              /* Short Dash */
    oc2dLineLongShortLongDash = 6,      /* Long Short Long Dash */
    oc2dLineDashDot = 7,                /* Dash Dot */
};

enum /* MarkerMethodConstants */        /* Specifies the marker positioning method used. */
{
    oc2dMarkerDataCoord = 2,            /* Specify position in data coordinates. */
    oc2dMarkerDataIndex = 1,            /* Specify position as an index into a data set. */
};

enum /* NumMethodConstants */           /* Specifies the method used to calculate axis numbering. */
{
    oc2dNumPrecision = 0,               /* Use current value of axis precision. */
    oc2dNumRound = 1,                   /* Use rounded numbers (most significant digit is 1, 2 or 5). */
};

enum /* OriginPlacementConstants */     /* Specifies the location of the origin. */
{
    oc2dOriginAuto = 0,                 /* Origin location automatically determined. */
    oc2dOriginZero = 1,                 /* Origin at zero. */
    oc2dOriginMinimum = 2,              /* Origin at axis minimum. */
    oc2dOriginMaximum = 3,              /* Origin at axis maximum. */
};

enum /* SortOrderConstants */           /* Specifies the order in which pie slices should be displayed. */
{
    oc2dSortOrderAscending = 1,         /* Ascending order. */
    oc2dSortOrderDescending = 2,        /* Descending order. */
    oc2dSortOrderNone = 3,              /* Data Order. */
};

enum /* ThresholdConstants */           /* Specifies the method used to determine which point values will be grouped into the "other" slice in pie charts. */
{
    oc2dThresholdSliceCutoff = 1,       /* Group all values whose individual percentage is less than ThresholdValue. */
    oc2dThresholdPercentile = 2,        /* Group values whose total percentage is less than ThresholdValue. */
};

enum /* ShapeConstants */               /* Valid symbol shapes. */
{
    oc2dShapeNone = 1,                  /* None */
    oc2dShapeDot = 2,                   /* Dot */
    oc2dShapeBox = 3,                   /* Box */
    oc2dShapeTriangle = 4,              /* Triangle */
    oc2dShapeDiamond = 5,               /* Diamond */
    oc2dShapeStar = 6,                  /* Star */
    oc2dShapeVerticalLine = 7,          /* Vertical Line */
    oc2dShapeHorizontalLine = 8,        /* Horizontal Line */
    oc2dShapeCross = 9,                 /* Cross */
    oc2dShapeCircle = 10,               /* Circle */
    oc2dShapeSquare = 11,               /* Square */
    oc2dShapeInvertTriangle = 12,       /* Invert Triangle */
    oc2dShapeDiagonalCross = 13,        /* Diagonal Cross */
    oc2dShapeOpenTriangle = 14,         /* Open Triangle */
    oc2dShapeOpenDiamond = 15,          /* Open Diamond */
    oc2dShapeOpenInvertTriangle = 16,   /* Open Invert Triangle */
};

enum /* RegionConstants */              /* Specifies a region of a chart. */
{
    oc2dRegionInChartArea = -100,       /* Located in chart area. */
    oc2dRegionInLegend = -99,           /* Located in legend. */
    oc2dRegionInHeader = -98,           /* Located in header. */
    oc2dRegionInFooter = -97,           /* Located in footer. */
    oc2dRegionNone = -96,               /* No particular region. */
};

enum /* RotationConstants */            /* Specifies an angle of rotation (in counterclockwise degrees). */
{
    oc2dRotateNone = 1,                 /* No rotation. */
    oc2dRotate90Degrees = 2,            /* Rotate 90 degrees. */
    oc2dRotate270Degrees = 3,           /* Rotate 270 degrees. */
    oc2dRotate45Degrees = 4,            /* Rotate 45 degrees. */
    oc2dRotate315Degrees = 5,           /* Rotate 315 degrees. */
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -