00001 #if !defined(AFX_IPLOTAXISX_H__70F41530_81D7_11D5_A84F_0050BA05DDC8__INCLUDED_)
00002 #define AFX_IPLOTAXISX_H__70F41530_81D7_11D5_A84F_0050BA05DDC8__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00010
00011
00012
00013
00014 class COleFont;
00015
00017
00018
00019 class CiPlotAxisX : public COleDispatchDriver
00020 {
00021 public:
00022 CiPlotAxisX() {}
00023 CiPlotAxisX(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
00024 CiPlotAxisX(const CiPlotAxisX& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
00025
00026
00027 public:
00028
00029
00030 public:
00031 CString GetName();
00032 void SetName(LPCTSTR lpszNewValue);
00033 BOOL GetVisible();
00034 void SetVisible(BOOL bNewValue);
00035 double GetStartPercent();
00036 void SetStartPercent(double newValue);
00037 double GetStopPercent();
00038 void SetStopPercent(double newValue);
00039 double GetMin();
00040 void SetMin(double newValue);
00041 double GetSpan();
00042 void SetSpan(double newValue);
00043 double GetMax();
00044 BOOL GetReverseScale();
00045 void SetReverseScale(BOOL bNewValue);
00046 long GetInnerMargin();
00047 void SetInnerMargin(long nNewValue);
00048 long GetOuterMargin();
00049 void SetOuterMargin(long nNewValue);
00050 CString GetTitle();
00051 void SetTitle(LPCTSTR lpszNewValue);
00052 double GetTitleMargin();
00053 void SetTitleMargin(double newValue);
00054 COleFont GetTitleFont();
00055 void SetTitleFont(LPDISPATCH newValue);
00056 BOOL GetTitleShow();
00057 void SetTitleShow(BOOL bNewValue);
00058 long GetMajorLength();
00059 void SetMajorLength(long nNewValue);
00060 long GetMinorLength();
00061 void SetMinorLength(long nNewValue);
00062 long GetMinorCount();
00063 void SetMinorCount(long nNewValue);
00064 double GetLabelsMargin();
00065 void SetLabelsMargin(double newValue);
00066 COleFont GetLabelsFont();
00067 void SetLabelsFont(LPDISPATCH newValue);
00068 long GetLabelsPrecisionStyle();
00069 void SetLabelsPrecisionStyle(long nNewValue);
00070 long GetLabelsPrecision();
00071 void SetLabelsPrecision(long nNewValue);
00072 double GetLabelsMinLength();
00073 void SetLabelsMinLength(double newValue);
00074 double GetLabelSeparation();
00075 void SetLabelSeparation(double newValue);
00076 long GetLabelsFormatStyle();
00077 void SetLabelsFormatStyle(long nNewValue);
00078 CString GetDateTimeFormat();
00079 void SetDateTimeFormat(LPCTSTR lpszNewValue);
00080 BOOL GetScaleLineShow();
00081 void SetScaleLineShow(BOOL bNewValue);
00082 unsigned long GetScaleLinesColor();
00083 void SetScaleLinesColor(unsigned long newValue);
00084 double GetStackingEndsMargin();
00085 void SetStackingEndsMargin(double newValue);
00086 long GetScaleType();
00087 void SetScaleType(long nNewValue);
00088 BOOL GetTrackingEnabled();
00089 void SetTrackingEnabled(BOOL bNewValue);
00090 long GetTrackingStyle();
00091 void SetTrackingStyle(long nNewValue);
00092 long GetTrackingAlignFirstStyle();
00093 void SetTrackingAlignFirstStyle(long nNewValue);
00094 double GetTrackingScrollCompressMax();
00095 void SetTrackingScrollCompressMax(double newValue);
00096 CString GetLabelText(double Value);
00097 void NewTrackingData(double Value);
00098 void ResetFirstAlign();
00099 void Zoom(double Value);
00100 long PositionToPixels(double Value);
00101 double PixelsToPosition(long Value);
00102 BOOL ValueOnScale(double Value);
00103 long GetZOrder();
00104 void SetZOrder(long nNewValue);
00105 BOOL GetHorizontal();
00106 void SetHorizontal(BOOL bNewValue);
00107 unsigned long GetTitleFontColor();
00108 void SetTitleFontColor(unsigned long newValue);
00109 unsigned long GetLabelsFontColor();
00110 void SetLabelsFontColor(unsigned long newValue);
00111 BOOL GetLabelsMinLengthAutoAdjust();
00112 void SetLabelsMinLengthAutoAdjust(BOOL bNewValue);
00113 void UpdateResumeValues();
00114 };
00115
00116
00117
00118
00119 #endif // AFX_IPLOTAXISX_H__70F41530_81D7_11D5_A84F_0050BA05DDC8__INCLUDED_