📄 2dconst.h
字号:
enum /* TimeUnitConstants */ /* Specifies the time unit to use in a time-axis. */
{
oc2dTimeSeconds = 1, /* Seconds */
oc2dTimeMinutes = 2, /* Minutes */
oc2dTimeHours = 3, /* Hours */
oc2dTimeDays = 4, /* Days */
oc2dTimeWeeks = 5, /* Weeks */
oc2dTimeMonths = 6, /* Months */
oc2dTimeYears = 7, /* Years */
};
enum /* ChartTypeConstants */ /* Specifies the chart display type. */
{
oc2dTypePlot = 1, /* Line chart. */
oc2dTypeBar = 2, /* Bar chart. */
oc2dTypePie = 3, /* Pie chart. */
oc2dTypeStackingBar = 4, /* Stacking bar chart. */
oc2dTypeArea = 5, /* Area chart. */
oc2dTypeHiLo = 6, /* HiLo chart. */
oc2dTypeHiLoOpenClose = 7, /* HiLoOpenClose chart. */
oc2dTypeCandle = 8, /* Candle chart. */
oc2dTypePolar = 9, /* Polar chart. */
oc2dTypeRadar = 10, /* Radar chart. */
oc2dTypeFilledRadar = 11, /* Filled radar chart. */
oc2dTypeBubble = 12, /* Bubble chart. */
};
enum /* ActionConstants */ /* Specifies a user action. */
{
oc2dActionNone = 0, /* No action. */
oc2dActionModifyStart = 1, /* Start a user interaction. */
oc2dActionModifyEnd = 2, /* Notify application that user interaction has ended. */
oc2dActionRotate = 3, /* Rotate the chart. */
oc2dActionScale = 4, /* Scale the chart. */
oc2dActionTranslate = 5, /* Translate the chart. */
oc2dActionZoomStart = 6, /* Start zoom. */
oc2dActionZoomUpdate = 7, /* Update the zoom area selection rubberband. */
oc2dActionZoomEnd = 8, /* Zoom into chart at the area selected by the rubberband. */
oc2dActionZoomCancel = 9, /* Cancel zoom in progress. */
oc2dActionReset = 10, /* Restore all scaling and translations to default. */
oc2dActionProperties = 11, /* Display property page. */
oc2dActionZoomAxisEnd = 12, /* Zoom into chart at selected area, retaining the axes. */
};
enum /* FormatConstants */ /* Specifies the format to use when printing. */
{
oc2dFormatBitmap = 1, /* Bitmap (.BMP). */
oc2dFormatMetafile = 2, /* Metafile (.WMF). */
oc2dFormatEnhMetafile = 3, /* Enhanced metafile (.EMF). */
oc2dFormatStandardMetafile = 4, /* Standard metafile (.WMF). */
};
enum /* ScaleConstants */ /* Specifies the scaling to use when printing. */
{
oc2dScaleNone = 1, /* Same size as actual chart. */
oc2dScaleToWidth = 2, /* Scale to specified width, preserving aspect ratio. */
oc2dScaleToHeight = 3, /* Scale to specified height, preserving aspect ratio. */
oc2dScaleToFit = 4, /* Scale to existing window (minimum of height and width), preserving aspect ratio. */
oc2dScaleToMax = 5, /* Enlarge to size of page. */
};
enum /* AngleUnitConstants */ /* Specifies the angle unit of polar and radar charts. */
{
oc2dAngleUnitDegrees = 1, /* Degree angles. */
oc2dAngleUnitRadians = 2, /* Radian angles. */
oc2dAngleUnitGrads = 3, /* Grad angles. */
};
enum /* ShadingConstants */ /* Specifies the shading method applied to 3D areas. */
{
oc2dShadingColor = 1, /* Colored 3D effects. */
oc2dShadingDithered = 2, /* Dithered 3D effects. */
oc2dShadingNone = 3, /* No special 3D effects. */
};
enum /* CategoryConstants */ /* Specifies the value format category. */
{
oc2dCategoryStandard = 1, /* . */
oc2dCategoryNumber = 2, /* 1,234.56. */
oc2dCategoryCurrency = 3, /* $1,234.56. */
oc2dCategoryAccounting = 4, /* $1,234.56. */
oc2dCategoryPercentage = 7, /* 12.34%. */
oc2dCategoryFraction = 8, /* 1,234 56/100. */
oc2dCategoryScientific = 9, /* 1.23E+03. */
oc2dCategoryCustom = 12, /* . */
};
enum /* OrderSignValueConstants */ /* Specifies the order of the sign and value. */
{
oc2dosvValueSign = 1, /* Value, sign: 1.1-. */
oc2dosvSignValue = 2, /* Sign, value: -1.1. */
};
enum /* OrderCurrencySignValueConstants */ /* Specifies the order of the currency symbol, sign and value. */
{
oc2docsvValueSignCurrency = 1, /* Value, sign, currency: 1.1-$. */
oc2docsvSignValueCurrency = 2, /* Sign, value, currency: -1.1$. */
oc2docsvValueCurrencySign = 3, /* Value, currency, sign: 1.1$-. */
oc2docsvSignCurrencyValue = 4, /* Sign, currency, value: -$1.1. */
oc2docsvCurrencyValueSign = 5, /* Currency, value, sign: $1.1-. */
oc2docsvCurrencySignValue = 6, /* Currency, sign, value: $-1.1. */
};
enum /* OrderPercentSignValueConstants */ /* Specifies the order of the percent symbol, sign and value. */
{
oc2dopsvValueSignPercent = 1, /* Value, sign, percent: 1.1-%. */
oc2dopsvSignValuePercent = 2, /* Sign, value, percent: -1.1%. */
oc2dopsvValuePercentSign = 3, /* Value, percent, sign: 1.1%-. */
oc2dopsvSignPercentValue = 4, /* Sign, percent, value: -%1.1. */
oc2dopsvPercentValueSign = 5, /* Percent, value, sign: %1.1-. */
oc2dopsvPercentSignValue = 6, /* Percent, sign, value: %-1.1. */
};
enum /* ChartEditorElementConstants */ /* Chart editor elements. */
{
oc2dceeControl = 1, /* . */
oc2dceeAxes = 2, /* . */
oc2dceeChartGroups = 3, /* . */
oc2dceeChartStyles = 4, /* . */
oc2dceeTitles = 5, /* . */
oc2dceeView3D = 9, /* . */
oc2dceeMarkers = 10, /* . */
oc2dceeLegend = 11, /* . */
oc2dceeChartArea = 12, /* . */
oc2dceePlotArea = 13, /* . */
oc2dceeChartLabels = 14, /* . */
oc2dceeControlGeneral = 41, /* . */
oc2dceeControlBorder = 42, /* . */
oc2dceeControlInterior = 43, /* . */
oc2dceeControlImage = 44, /* . */
oc2dceeControlAbout = 45, /* . */
oc2dceeAxesGeneral = 61, /* . */
oc2dceeAxesAnnotation = 62, /* . */
oc2dceeAxesScale = 63, /* . */
oc2dceeAxesTitle = 64, /* . */
oc2dceeAxesGrid = 65, /* . */
oc2dceeAxesGridStyle = 66, /* . */
oc2dceeAxesFont = 67, /* . */
oc2dceeAxesPolarRadar = 68, /* . */
oc2dceeAxesAxisStyle = 69, /* . */
oc2dceeChartGroupsGeneral = 81, /* . */
oc2dceeChartGroupsData = 82, /* . */
oc2dceeChartGroupsLabels = 83, /* . */
oc2dceeChartGroupsBinding = 84, /* . */
oc2dceeChartGroupsBar = 85, /* . */
oc2dceeChartGroupsCandle = 86, /* . */
oc2dceeChartGroupsHiLoOpenClose = 87, /* . */
oc2dceeChartGroupsPie = 88, /* . */
oc2dceeChartGroupsOtherSlice = 89, /* . */
oc2dceeChartGroupsPolar = 90, /* . */
oc2dceeChartGroupsInternet = 91, /* . */
oc2dceeChartGroupsBubble = 92, /* . */
oc2dceeChartStylesFillStyle = 101, /* . */
oc2dceeChartStylesLineStyle = 102, /* . */
oc2dceeChartStylesSymbolStyle = 103, /* . */
oc2dceeChartStylesSliceStyle = 104, /* . */
oc2dceeTitlesGeneral = 121, /* . */
oc2dceeTitlesLabel = 122, /* . */
oc2dceeTitlesLocation = 123, /* . */
oc2dceeTitlesBorder = 124, /* . */
oc2dceeTitlesInterior = 125, /* . */
oc2dceeTitlesFont = 126, /* . */
oc2dceeTitlesImage = 127, /* . */
oc2dceeView3DGeneral = 201, /* . */
oc2dceeMarkersGeneral = 221, /* . */
oc2dceeMarkersAttach = 222, /* . */
oc2dceeMarkersLineStyle = 223, /* . */
oc2dceeLegendGeneral = 241, /* . */
oc2dceeLegendLocation = 242, /* . */
oc2dceeLegendBorder = 243, /* . */
oc2dceeLegendInterior = 244, /* . */
oc2dceeLegendFont = 245, /* . */
oc2dceeLegendImage = 246, /* . */
oc2dceeLegendTitle = 247, /* . */
oc2dceeChartAreaGeneral = 261, /* . */
oc2dceeChartAreaLocation = 262, /* . */
oc2dceeChartAreaBorder = 263, /* . */
oc2dceeChartAreaInterior = 264, /* . */
oc2dceeChartAreaImage = 265, /* . */
oc2dceePlotAreaGeneral = 281, /* . */
oc2dceePlotAreaInterior = 282, /* . */
oc2dceePlotAreaImage = 283, /* . */
oc2dceeChartLabelsGeneral = 301, /* . */
oc2dceeChartLabelsLabel = 302, /* . */
oc2dceeChartLabelsBorder = 303, /* . */
oc2dceeChartLabelsInterior = 304, /* . */
oc2dceeChartLabelsFont = 305, /* . */
oc2dceeChartLabelsLocation = 306, /* . */
oc2dceeChartLabelsImage = 307, /* . */
oc2dceeControlGeneralLoad = 361, /* . */
oc2dceeControlGeneralSave = 362, /* . */
oc2dceeChartStylesAdd = 401, /* . */
oc2dceeChartStylesRemove = 402, /* . */
oc2dceeChartGroupsDataLoad = 441, /* . */
oc2dceeChartGroupsDataSave = 442, /* . */
oc2dceeChartGroupsDataSort = 443, /* . */
oc2dceeChartGroupsDataEdit = 444, /* . */
oc2dceeChartGroupsDataSeries = 445, /* . */
};
enum /* ImageLayoutConstants */ /* Specifies the image layout. */
{
oc2dImageCentered = 1, /* Centered image */
oc2dImageTiled = 2, /* Tiled image */
oc2dImageFitted = 3, /* Fitted image */
oc2dImageStretched = 4, /* Stretched image */
oc2dImageStretchedToWidth = 5, /* Stretched to width image */
oc2dImageStretchedToHeight = 6, /* Stretched to height image */
oc2dImageCropFitted = 7, /* Crop fitted image */
};
enum /* BubbleMethodConstants */ /* Specifies the method of determining bubble size */
{
oc2dBubbleDiameter = 1, /* Bubble size based on diameter */
oc2dBubbleArea = 2, /* Bubble size based on area */
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -