home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / CHARTFX.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  24.7 KB  |  492 lines

  1. //----------------------------------------------------------------------------
  2. // ChartFX.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: ChartFX.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef ChartFXHPP
  6. #define ChartFXHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef MenusHPP
  9. #include <Menus.hpp>
  10. #endif
  11.  
  12. #ifndef ControlsHPP
  13. #include <Controls.hpp>
  14. #endif
  15.  
  16. #ifndef OleCtrlsHPP
  17. #include <OleCtrls.hpp>
  18. #endif
  19.  
  20. #ifndef GraphicsHPP
  21. #include <Graphics.hpp>
  22. #endif
  23.  
  24. #ifndef ClassesHPP
  25. #include <Classes.hpp>
  26. #endif
  27.  
  28. #ifndef OleCtlHPP
  29. #include <OleCtl.hpp>
  30. #endif
  31.  
  32. #ifndef OLE2HPP
  33. #include <OLE2.hpp>
  34. #endif
  35.  
  36. #ifndef SystemHPP
  37. #include <System.hpp>
  38. #endif
  39.  
  40. namespace Chartfx
  41. {
  42. //-- type declarations -------------------------------------------------------
  43. typedef void __fastcall (__closure *TChartFXLButtonDblClk)(System::TObject *Sender, System::Smallint 
  44.     &X, System::Smallint &Y, System::Smallint &nSerie, System::Smallint &nPoint, System::Smallint &nRes
  45.     );
  46.  
  47. typedef void __fastcall (__closure *TChartFXRButtonDown)(System::TObject *Sender, System::Smallint &
  48.     X, System::Smallint &Y, System::Smallint &nSerie, System::Smallint &nPoint, System::Smallint &nRes)
  49.     ;
  50.  
  51. typedef void __fastcall (__closure *TChartFXChangeValue)(System::TObject *Sender, System::Double &dValue
  52.     , System::Smallint &nSerie, System::Smallint &nPoint, System::Smallint &nRes);
  53.  
  54. typedef void __fastcall (__closure *TChartFXChangeString)(System::TObject *Sender, System::Smallint 
  55.     &nType, System::Smallint &nIndex, System::Smallint &nRes);
  56.  
  57. typedef void __fastcall (__closure *TChartFXChangeColor)(System::TObject *Sender, System::Smallint &
  58.     nType, System::Smallint &nIndex, System::Smallint &nRes);
  59.  
  60. typedef void __fastcall (__closure *TChartFXChangePalette)(System::TObject *Sender, System::Smallint 
  61.     &nIndex, System::Smallint &nRes);
  62.  
  63. typedef void __fastcall (__closure *TChartFXChangeFont)(System::TObject *Sender, System::Smallint &nIndex
  64.     , System::Smallint &nRes);
  65.  
  66. typedef void __fastcall (__closure *TChartFXChangePattern)(System::TObject *Sender, System::Smallint 
  67.     &nType, System::Smallint &nIndex, System::Smallint &nRes);
  68.  
  69. typedef void __fastcall (__closure *TChartFXChangePattPal)(System::TObject *Sender, System::Smallint 
  70.     &nIndex, System::Smallint &nRes);
  71.  
  72. typedef void __fastcall (__closure *TChartFXMenu)(System::TObject *Sender, System::Smallint &wParam, 
  73.     System::Smallint &nSerie, System::Smallint &nPoint, System::Smallint &nRes);
  74.  
  75. typedef void __fastcall (__closure *TChartFXChangeType)(System::TObject *Sender, System::Smallint &nType
  76.     , System::Smallint &nRes);
  77.  
  78. typedef void __fastcall (__closure *TChartFXUserScroll)(System::TObject *Sender, System::Integer wScrollMsg
  79.     , System::Integer wScrollParam, System::Smallint &nRes);
  80.  
  81. typedef void __fastcall (__closure *TChartFXGetLegend)(System::TObject *Sender, System::Smallint nType
  82.     , System::Smallint &nRes);
  83.  
  84. class __declspec(delphiclass) TChartFX;
  85. class __declspec(pascalimplementation) TChartFX : public Olectrls::TOleControl
  86. {
  87.     typedef TChartFX ThisClass;
  88.     typedef Olectrls::TOleControl inherited;
  89.     
  90. private:
  91.     TChartFXLButtonDblClk FOnLButtonDblClk;
  92.     TChartFXRButtonDown FOnRButtonDown;
  93.     TChartFXChangeValue FOnChangeValue;
  94.     TChartFXChangeString FOnChangeString;
  95.     TChartFXChangeColor FOnChangeColor;
  96.     Classes::TNotifyEvent FOnDestroy;
  97.     Classes::TNotifyEvent FOnReadFile;
  98.     TChartFXChangePalette FOnChangePalette;
  99.     TChartFXChangeFont FOnChangeFont;
  100.     Classes::TNotifyEvent FOnReadTemplate;
  101.     TChartFXChangePattern FOnChangePattern;
  102.     TChartFXChangePattPal FOnChangePattPal;
  103.     TChartFXMenu FOnMenu;
  104.     TChartFXChangeType FOnChangeType;
  105.     TChartFXUserScroll FOnUserScroll;
  106.     TChartFXGetLegend FOnGetLegend;
  107.     System::Double __stdcall Get_Value(System::Smallint index);
  108.     void __stdcall Set_Value(System::Smallint index, System::Double Value);
  109.     System::Double __stdcall Get_XValue(System::Smallint index);
  110.     void __stdcall Set_XValue(System::Smallint index, System::Double Value);
  111.     System::Double __stdcall Get_IniValue(System::Smallint index);
  112.     void __stdcall Set_IniValue(System::Smallint index, System::Double Value);
  113.     System::Double __stdcall Get_Const_(System::Smallint index);
  114.     void __stdcall Set_Const_(System::Smallint index, System::Double Value);
  115.     Graphics::TColor __stdcall Get_Color(System::Smallint index);
  116.     void __stdcall Set_Color(System::Smallint index, Graphics::TColor Value);
  117.     Graphics::TColor __stdcall Get_BkColor(System::Smallint index);
  118.     void __stdcall Set_BkColor(System::Smallint index, Graphics::TColor Value);
  119.     System::Double __stdcall Get_Adm(System::Smallint index);
  120.     void __stdcall Set_Adm(System::Smallint index, System::Double Value);
  121.     System::Smallint __stdcall Get_Pattern(System::Smallint index);
  122.     void __stdcall Set_Pattern(System::Smallint index, System::Smallint Value);
  123.     System::Integer __stdcall Get_Fonts(System::Smallint index);
  124.     void __stdcall Set_Fonts(System::Smallint index, System::Integer Value);
  125.     System::AnsiString __stdcall Get_Title(System::Smallint index);
  126.     void __stdcall Set_Title(System::Smallint index, const System::AnsiString Value);
  127.     System::AnsiString __stdcall Get_Legend(System::Smallint index);
  128.     void __stdcall Set_Legend(System::Smallint index, const System::AnsiString Value);
  129.     System::AnsiString __stdcall Get_SerLeg(System::Smallint index);
  130.     void __stdcall Set_SerLeg(System::Smallint index, const System::AnsiString Value);
  131.     System::AnsiString __stdcall Get_KeyLeg(System::Smallint index);
  132.     void __stdcall Set_KeyLeg(System::Smallint index, const System::AnsiString Value);
  133.     System::AnsiString __stdcall Get_FixLeg(System::Smallint index);
  134.     void __stdcall Set_FixLeg(System::Smallint index, const System::AnsiString Value);
  135.     System::AnsiString __stdcall Get_YLeg(System::Smallint index);
  136.     void __stdcall Set_YLeg(System::Smallint index, const System::AnsiString Value);
  137.     System::AnsiString __stdcall Get_KeySer(System::Smallint index);
  138.     void __stdcall Set_KeySer(System::Smallint index, const System::AnsiString Value);
  139.     System::AnsiString __stdcall Get_StatusText(System::Smallint index);
  140.     void __stdcall Set_StatusText(System::Smallint index, const System::AnsiString Value);
  141.     Graphics::TColor __stdcall Get_RGBFont(System::Smallint index);
  142.     void __stdcall Set_RGBFont(System::Smallint index, Graphics::TColor Value);
  143.     System::Smallint __stdcall Get_HFont(System::Smallint index);
  144.     void __stdcall Set_HFont(System::Smallint index, System::Smallint Value);
  145.     System::Smallint __stdcall Get_ItemWidth(System::Smallint index);
  146.     void __stdcall Set_ItemWidth(System::Smallint index, System::Smallint Value);
  147.     System::Smallint __stdcall Get_ItemStyle(System::Smallint index);
  148.     void __stdcall Set_ItemStyle(System::Smallint index, System::Smallint Value);
  149.     Graphics::TColor __stdcall Get_ItemColor(System::Smallint index);
  150.     void __stdcall Set_ItemColor(System::Smallint index, Graphics::TColor Value);
  151.     System::Smallint __stdcall Get_DecimalsNum(System::Smallint index);
  152.     void __stdcall Set_DecimalsNum(System::Smallint index, System::Smallint Value);
  153.     
  154. protected:
  155.     virtual void __fastcall InitControlData(void);
  156.     
  157. public:
  158.     System::Integer __stdcall OpenDataEx(System::Smallint nType, System::Integer n1, System::Integer n2
  159.         );
  160.     System::WordBool __stdcall CloseData(System::Smallint nType);
  161.     System::Integer __stdcall DblClk(System::Smallint nType, System::Integer lExtra);
  162.     System::Integer __stdcall RigClk(System::Smallint nType, System::Integer lExtra);
  163.     System::Integer __stdcall Status(System::Smallint nItems, System::Integer lpStatus);
  164.     System::Integer __stdcall ShowDialog(System::Smallint nDialog, System::Integer lExtra);
  165.     System::Integer __stdcall PrintIt(void);
  166.     System::Integer __stdcall Scroll(System::Integer wParam, System::Integer lParam);
  167.     System::Integer __stdcall SetStatusItem(System::Smallint index, System::WordBool bText, System::Smallint 
  168.         nID, System::WordBool bFrame, System::Smallint nWidth, System::Smallint nMin, System::Smallint nDesp
  169.         , System::Integer dwStyle);
  170.     System::Integer __stdcall Paint(System::Integer hDC, System::Smallint nLeft, System::Smallint nTop, 
  171.         System::Smallint nRight, System::Smallint nBottom, System::Smallint wAction, System::Integer lps);
  172.         
  173.     System::Integer __stdcall SetStripe(System::Smallint index, System::Double dMin, System::Double dMax
  174.         , Graphics::TColor rgb);
  175.     System::Integer __stdcall Language(const System::AnsiString sResource);
  176.     System::Integer __stdcall ExportFile(const System::AnsiString lpszNewValue);
  177.     System::Integer __stdcall ImportFile(const System::AnsiString lpszNewValue);
  178.     System::Integer __stdcall WriteTemplate(const System::AnsiString lpszNewValue);
  179.     System::Integer __stdcall ReadTemplate(const System::AnsiString lpszNewValue);
  180.     System::Integer __stdcall CopyData(void);
  181.     System::Integer __stdcall CopyBitmap(void);
  182.     void __stdcall Refresh(void);
  183.     void __stdcall AboutBox(void);
  184.     __property System::Double Value[System::Smallint index] = {read=Get_Value, write=Set_Value};
  185.     __property System::Double XValue[System::Smallint index] = {read=Get_XValue, write=Set_XValue};
  186.     __property System::Double IniValue[System::Smallint index] = {read=Get_IniValue, write=Set_IniValue
  187.         };
  188.     __property System::Double Const_[System::Smallint index] = {read=Get_Const_, write=Set_Const_};
  189.     __property Graphics::TColor Color[System::Smallint index] = {read=Get_Color, write=Set_Color};
  190.     __property Graphics::TColor BkColor[System::Smallint index] = {read=Get_BkColor, write=Set_BkColor}
  191.         ;
  192.     __property System::Double Adm[System::Smallint index] = {read=Get_Adm, write=Set_Adm};
  193.     __property System::Smallint Pattern[System::Smallint index] = {read=Get_Pattern, write=Set_Pattern}
  194.         ;
  195.     __property System::Integer Fonts[System::Smallint index] = {read=Get_Fonts, write=Set_Fonts};
  196.     __property System::AnsiString Title[System::Smallint index] = {read=Get_Title, write=Set_Title};
  197.     __property System::AnsiString Legend[System::Smallint index] = {read=Get_Legend, write=Set_Legend};
  198.         
  199.     __property System::AnsiString SerLeg[System::Smallint index] = {read=Get_SerLeg, write=Set_SerLeg};
  200.         
  201.     __property System::AnsiString KeyLeg[System::Smallint index] = {read=Get_KeyLeg, write=Set_KeyLeg};
  202.         
  203.     __property System::AnsiString FixLeg[System::Smallint index] = {read=Get_FixLeg, write=Set_FixLeg};
  204.         
  205.     __property System::AnsiString YLeg[System::Smallint index] = {read=Get_YLeg, write=Set_YLeg};
  206.     __property System::AnsiString KeySer[System::Smallint index] = {read=Get_KeySer, write=Set_KeySer};
  207.         
  208.     __property System::AnsiString StatusText[System::Smallint index] = {read=Get_StatusText, write=Set_StatusText
  209.         };
  210.     __property Graphics::TColor RGBFont[System::Smallint index] = {read=Get_RGBFont, write=Set_RGBFont}
  211.         ;
  212.     __property System::Smallint HFont[System::Smallint index] = {read=Get_HFont, write=Set_HFont};
  213.     __property System::Smallint ItemWidth[System::Smallint index] = {read=Get_ItemWidth, write=Set_ItemWidth
  214.         };
  215.     __property System::Smallint ItemStyle[System::Smallint index] = {read=Get_ItemStyle, write=Set_ItemStyle
  216.         };
  217.     __property Graphics::TColor ItemColor[System::Smallint index] = {read=Get_ItemColor, write=Set_ItemColor
  218.         };
  219.     __property System::Smallint DecimalsNum[System::Smallint index] = {read=Get_DecimalsNum, write=Set_DecimalsNum
  220.         };
  221.     
  222. __published:
  223.     __property TabStop ;
  224.     __property DragCursor ;
  225.     __property DragMode ;
  226.     __property ParentShowHint ;
  227.     __property PopupMenu ;
  228.     __property ShowHint ;
  229.     __property TabOrder ;
  230.     __property Visible ;
  231.     __property OnDragDrop ;
  232.     __property OnDragOver ;
  233.     __property OnEndDrag ;
  234.     __property OnEnter ;
  235.     __property OnExit ;
  236.     __property OnStartDrag ;
  237.     __property System::Smallint DesignDraw = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  238.         , index=4, nodefault};
  239.     __property System::Smallint ThisSerie = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  240.         index=1, nodefault};
  241.     __property System::Smallint ThisPoint = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  242.         index=2, nodefault};
  243.     __property System::WordBool AutoInvalidate = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  244.         , index=3, nodefault};
  245.     __property System::Integer Type_ = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5
  246.         , nodefault};
  247.     __property System::Integer Style = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6
  248.         , nodefault};
  249.     __property System::Smallint NSeries = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=7
  250.         , nodefault};
  251.     __property System::Smallint NValues = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=8
  252.         , nodefault};
  253.     __property Graphics::TColor ThisColor = {read=GetColorProp, write=SetColorProp, stored=false, index=9
  254.         , nodefault};
  255.     __property Graphics::TColor ThisBkColor = {read=GetColorProp, write=SetColorProp, stored=false, index=10
  256.         , nodefault};
  257.     __property System::Smallint LeftGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=11
  258.         , nodefault};
  259.     __property System::Smallint RightGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  260.         index=12, nodefault};
  261.     __property System::Smallint TopGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=13
  262.         , nodefault};
  263.     __property System::Smallint BottomGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  264.         index=14, nodefault};
  265.     __property System::Smallint Decimals = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  266.         index=15, nodefault};
  267.     __property System::Smallint PointType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  268.         index=16, nodefault};
  269.     __property System::Smallint Scheme = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=17
  270.         , nodefault};
  271.     __property System::Smallint Stacked = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=18
  272.         , nodefault};
  273.     __property System::Smallint Grid = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=19
  274.         , nodefault};
  275.     __property System::Smallint WallWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  276.         index=20, nodefault};
  277.     __property System::Smallint BarHorzGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  278.         , index=21, nodefault};
  279.     __property System::WordBool View3D = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=22
  280.         , nodefault};
  281.     __property System::Integer Angles3D = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=23
  282.         , nodefault};
  283.     __property System::Smallint PixFactor = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  284.         index=24, nodefault};
  285.     __property System::Smallint LineWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  286.         index=25, nodefault};
  287.     __property System::Smallint LineStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  288.         index=26, nodefault};
  289.     __property Graphics::TColor LineColor = {read=GetColorProp, write=SetColorProp, stored=false, index=27
  290.         , nodefault};
  291.     __property Graphics::TColor LineBkColor = {read=GetColorProp, write=SetColorProp, stored=false, index=28
  292.         , nodefault};
  293.     __property System::Smallint FixedWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  294.         , index=29, nodefault};
  295.     __property System::Smallint FixedStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  296.         , index=30, nodefault};
  297.     __property Graphics::TColor FixedColor = {read=GetColorProp, write=SetColorProp, stored=false, index=31
  298.         , nodefault};
  299.     __property Graphics::TColor FixedBkColor = {read=GetColorProp, write=SetColorProp, stored=false, index=32
  300.         , nodefault};
  301.     __property System::Smallint FixedGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  302.         index=33, nodefault};
  303.     __property Graphics::TColor RGBBarHorz = {read=GetColorProp, write=SetColorProp, stored=false, index=34
  304.         , nodefault};
  305.     __property Graphics::TColor RGBBk = {read=GetColorProp, write=SetColorProp, stored=false, index=35, 
  306.         nodefault};
  307.     __property Graphics::TColor RGB2DBk = {read=GetColorProp, write=SetColorProp, stored=false, index=36
  308.         , nodefault};
  309.     __property Graphics::TColor RGB3DBk = {read=GetColorProp, write=SetColorProp, stored=false, index=37
  310.         , nodefault};
  311.     __property System::WordBool ShowStatus = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  312.         index=38, nodefault};
  313.     __property System::AnsiString HText = {read=GetStringProp, write=SetStringProp, stored=false, index=39
  314.         , nodefault};
  315.     __property System::Smallint ChartStatus = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  316.         , index=40, nodefault};
  317.     __property System::Smallint Edit = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=41
  318.         , nodefault};
  319.     __property System::Smallint ChartType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  320.         index=42, nodefault};
  321.     __property System::WordBool Chart3D = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=43
  322.         , nodefault};
  323.     __property System::WordBool ToolBar = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=44
  324.         , nodefault};
  325.     __property System::WordBool PaletteBar = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  326.         index=45, nodefault};
  327.     __property System::WordBool PatternBar = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  328.         index=46, nodefault};
  329.     __property System::Integer CustTool = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=47
  330.         , nodefault};
  331.     __property System::Integer ReturnValue = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  332.         index=48, nodefault};
  333.     __property System::WordBool AutoIncrement = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  334.         , index=49, nodefault};
  335.     __property System::Double ThisValue = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=50
  336.         };
  337.     __property System::Smallint VertGridGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  338.         , index=51, nodefault};
  339.     __property System::Smallint XLegType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  340.         index=52, nodefault};
  341.     __property System::Smallint ConstType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  342.         index=53, nodefault};
  343.     __property System::Variant LeftFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=54
  344.         };
  345.     __property System::Variant RightFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=55
  346.         };
  347.     __property System::Variant TopFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=56
  348.         };
  349.     __property System::Variant BottomFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=57
  350.         };
  351.     __property System::Variant XLegFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=58
  352.         };
  353.     __property System::Variant YLegFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=59
  354.         };
  355.     __property System::Variant FixedFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=60
  356.         };
  357.     __property System::Variant LegendFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=61
  358.         };
  359.     __property System::Smallint LegendWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  360.         , index=62, nodefault};
  361.     __property System::WordBool Enabled = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=-514
  362.         , nodefault};
  363.     __property System::Integer hWnd = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515
  364.         , nodefault};
  365.     __property System::Smallint BorderStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  366.         , index=-504, nodefault};
  367.     __property System::Integer hCtlWnd = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=63
  368.         , nodefault};
  369.     __property TChartFXLButtonDblClk OnLButtonDblClk = {read=FOnLButtonDblClk, write=FOnLButtonDblClk};
  370.         
  371.     __property TChartFXRButtonDown OnRButtonDown = {read=FOnRButtonDown, write=FOnRButtonDown};
  372.     __property TChartFXChangeValue OnChangeValue = {read=FOnChangeValue, write=FOnChangeValue};
  373.     __property TChartFXChangeString OnChangeString = {read=FOnChangeString, write=FOnChangeString};
  374.     __property TChartFXChangeColor OnChangeColor = {read=FOnChangeColor, write=FOnChangeColor};
  375.     __property Classes::TNotifyEvent OnDestroy = {read=FOnDestroy, write=FOnDestroy};
  376.     __property Classes::TNotifyEvent OnReadFile = {read=FOnReadFile, write=FOnReadFile};
  377.     __property TChartFXChangePalette OnChangePalette = {read=FOnChangePalette, write=FOnChangePalette};
  378.         
  379.     __property TChartFXChangeFont OnChangeFont = {read=FOnChangeFont, write=FOnChangeFont};
  380.     __property Classes::TNotifyEvent OnReadTemplate = {read=FOnReadTemplate, write=FOnReadTemplate};
  381.     __property TChartFXChangePattern OnChangePattern = {read=FOnChangePattern, write=FOnChangePattern};
  382.         
  383.     __property TChartFXChangePattPal OnChangePattPal = {read=FOnChangePattPal, write=FOnChangePattPal};
  384.         
  385.     __property TChartFXMenu OnMenu = {read=FOnMenu, write=FOnMenu};
  386.     __property TChartFXChangeType OnChangeType = {read=FOnChangeType, write=FOnChangeType};
  387.     __property TChartFXUserScroll OnUserScroll = {read=FOnUserScroll, write=FOnUserScroll};
  388.     __property TChartFXGetLegend OnGetLegend = {read=FOnGetLegend, write=FOnGetLegend};
  389. public:
  390.     /* !! TOleControl.Create */ __fastcall virtual TChartFX(Classes::TComponent *AOwner) : Olectrls::TOleControl(
  391.         AOwner) { }
  392.     /* !! TOleControl.Destroy */ __fastcall virtual ~TChartFX(void) { }
  393.     
  394. };
  395.  
  396. //-- var, const, procedure ---------------------------------------------------
  397. #define CHART_NONEMK System::Byte(0)
  398. #define CHART_RECTMK System::Byte(1)
  399. #define CHART_CIRCLEMK System::Byte(2)
  400. #define CHART_TRIANGLEMK System::Byte(3)
  401. #define CHART_MARBLEMK System::Byte(4)
  402. #define CHART_CUBEMK System::Byte(5)
  403. #define CHART_MANYMK System::Byte(6)
  404. #define CHART_CSSOLID System::Byte(0)
  405. #define CHART_CSBWPATTERN System::Byte(1)
  406. #define CHART_CSPATTERN System::Byte(2)
  407. #define CHART_NOSTACKED System::Byte(0)
  408. #define CHART_STACKED System::Byte(1)
  409. #define CHART_STACKED100 System::Byte(2)
  410. #define CHART_NOGRID System::Byte(0)
  411. #define CHART_HORZGRID System::Byte(1)
  412. #define CHART_VERTGRID System::Byte(2)
  413. #define CHART_BOTHGRID System::Byte(3)
  414. #define CHART_GRIDY2 System::Byte(4)
  415. #define LINES System::Byte(1)
  416. #define BAR System::Byte(2)
  417. #define SPLINE System::Byte(3)
  418. #define MARK System::Byte(4)
  419. #define PIE System::Byte(5)
  420. #define AREA System::Byte(6)
  421. #define PARETO System::Byte(7)
  422. #define SCATTER System::Byte(8)
  423. #define HILOW System::Byte(9)
  424. #define CC_HIDETEXT System::Byte(1)
  425. #define CC_HIDE System::Byte(2)
  426. #define CL_NOTCLIPPED System::Byte(1)
  427. #define CL_NOTCHANGECOLOR System::Byte(2)
  428. #define CL_HIDE System::Byte(4)
  429. #define CL_HIDEXLEG System::Byte(4)
  430. #define CL_FORCESERLEG System::Byte(8)
  431. #define CL_GETLEGEND System::Byte(16)
  432. #define CL_HIDEYLEG System::Byte(32)
  433. #define COD_VALUES System::Byte(1)
  434. #define COD_CONSTANTS System::Byte(2)
  435. #define COD_COLORS System::Byte(3)
  436. #define COD_STRIPES System::Byte(4)
  437. #define COD_INIVALUES System::Byte(5)
  438. #define COD_XVALUES System::Byte(6)
  439. #define COD_STATUSITEMS System::Byte(7)
  440. #define COD_UNKNOWN System::Shortint(-1)
  441. #define COD_UNCHANGE System::Byte(0)
  442. #define CHART_BALLOONCLK System::Byte(0)
  443. #define CHART_DIALOGCLK System::Byte(1)
  444. #define CHART_NONECLK System::Byte(2)
  445. #define CHART_MENUCLK System::Byte(3)
  446. #define CDIALOG_EXPORTFILE System::Byte(14)
  447. #define CDIALOG_IMPORTFILE System::Byte(15)
  448. #define CDIALOG_WRITETEMPLATE System::Byte(8)
  449. #define CDIALOG_READTEMPLATE System::Byte(9)
  450. #define CDIALOG_PAGESETUP System::Byte(4)
  451. #define CDIALOG_ABOUT System::Byte(11)
  452. #define CDIALOG_OPTIONS System::Byte(12)
  453. #define CDIALOG_EDITTITLES System::Byte(35)
  454. #define CDIALOG_FONTS System::Byte(39)
  455. #define CDIALOG_ROTATE System::Byte(52)
  456. #define CSA_MIN System::Byte(0)
  457. #define CSA_MAX System::Byte(1)
  458. #define CSA_GAP System::Byte(2)
  459. #define CSA_SCALE System::Byte(3)
  460. #define CSA_YLEGGAP System::Byte(4)
  461. #define CSA_PIXXVALUE System::Byte(5)
  462. #define CSA_XMIN System::Byte(6)
  463. #define CSA_XMAX System::Byte(7)
  464. #define CSA_XGAP System::Byte(8)
  465. #define CSA_LOGBASE System::Byte(9)
  466. #define CHART_LEFTTIT System::Byte(0)
  467. #define CHART_RIGHTTIT System::Byte(1)
  468. #define CHART_TOPTIT System::Byte(2)
  469. #define CHART_BOTTOMTIT System::Byte(3)
  470. #define CHART_LEFTFT System::Byte(0)
  471. #define CHART_RIGHTFT System::Byte(1)
  472. #define CHART_TOPFT System::Byte(2)
  473. #define CHART_BOTTOMFT System::Byte(3)
  474. #define CHART_XLEGFT System::Byte(4)
  475. #define CHART_YLEGFT System::Byte(5)
  476. #define CHART_FIXEDFT System::Byte(6)
  477. #define CHART_LEGENDFT System::Byte(7)
  478. #define CI_HORZGRID System::Byte(0)
  479. #define CI_VERTGRID System::Byte(1)
  480. #define CD_ALL System::Byte(0)
  481. #define CD_VALUES System::Byte(1)
  482. #define CD_YLEG System::Byte(2)
  483. #define CD_XLEG System::Byte(3)
  484. extern void __fastcall Register(void);
  485.  
  486. }    /* namespace Chartfx */
  487. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  488. using namespace Chartfx;
  489. #endif
  490. //-- end unit ----------------------------------------------------------------
  491. #endif    // ChartFX
  492.