home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'RChart.pas' rev: 3.00
-
- #ifndef RChartHPP
- #define RChartHPP
- #include <Menus.hpp>
- #include <DsgnIntf.hpp>
- #include <Buttons.hpp>
- #include <StdCtrls.hpp>
- #include <ExtCtrls.hpp>
- #include <Dialogs.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Rchart
- {
- //-- type declarations -------------------------------------------------------
- enum YearLengthType { ylNone, ylYY, ylYYYY };
-
- enum DateOrderType { doMMDDYY, doDDMMYY, doYYMMDD };
-
- enum TimeFormatType { tfHHMMSS, tfHHhMM, tfAMPM };
-
- enum TCrossHMode { chOff, chHoriz, chVert, chBoth };
-
- enum DateForTimeType { dtNone, dtOnePerChart, dtOnePerDay, dtAllTicks };
-
- enum TBkgFill { bfSimple, bfStretch, bfTile };
-
- class DELPHICLASS TBakGndImg;
- class PASCALIMPLEMENTATION TBakGndImg : public Classes::TPersistent
- {
- typedef Classes::TPersistent inherited;
-
- private:
- System::AnsiString FName;
- Classes::TNotifyEvent FOnChange;
- bool FIncldPath;
- TBkgFill FFillMode;
- void __fastcall SetName(System::AnsiString fn);
- void __fastcall SetIncldPath(bool x);
- void __fastcall SetFillMode(TBkgFill x);
-
- public:
- __fastcall TBakGndImg(Classes::TComponent* AOwner);
- __fastcall virtual ~TBakGndImg(void);
- void __fastcall Changed(void);
- __property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
-
- __published:
- __property System::AnsiString Name = {read=FName, write=SetName};
- __property bool IncludePath = {read=FIncldPath, write=SetIncldPath, nodefault};
- __property TBkgFill FillMode = {read=FFillMode, write=SetFillMode, nodefault};
- };
-
- class DELPHICLASS TrcBakBMPEditor;
- class PASCALIMPLEMENTATION TrcBakBMPEditor : public Forms::TForm
- {
- typedef Forms::TForm inherited;
-
- __published:
- Stdctrls::TCheckBox* CBIncldPath;
- Stdctrls::TComboBox* CBFillMode;
- Buttons::TSpeedButton* SBLoadBMP;
- Buttons::TSpeedButton* SBOK;
- Stdctrls::TEdit* EdName;
- Stdctrls::TLabel* Label1;
- Buttons::TSpeedButton* SBCancel;
- Extctrls::TImage* Image1;
- Extctrls::TBevel* Bevel1;
- Stdctrls::TLabel* LblDims;
- void __fastcall SBLoadBMPClick(System::TObject* Sender);
- void __fastcall CBIncldPathClick(System::TObject* Sender);
- void __fastcall SBOKClick(System::TObject* Sender);
- void __fastcall SBCancelClick(System::TObject* Sender);
-
- public:
- System::AnsiString FullName;
- public:
- /* TCustomForm.Create */ __fastcall virtual TrcBakBMPEditor(Classes::TComponent* AOwner) : Forms::TForm(
- AOwner) { }
- /* TCustomForm.CreateNew */ __fastcall TrcBakBMPEditor(Classes::TComponent* AOwner, int Dummy) : Forms::
- TForm(AOwner, Dummy) { }
- /* TCustomForm.Destroy */ __fastcall virtual ~TrcBakBMPEditor(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TrcBakBMPEditor(HWND ParentWindow) : Forms::TForm(ParentWindow
- ) { }
-
- };
-
- class DELPHICLASS TBakGndFileProperty;
- class PASCALIMPLEMENTATION TBakGndFileProperty : public Dsgnintf::TClassProperty
- {
- typedef Dsgnintf::TClassProperty inherited;
-
- public:
- virtual void __fastcall Edit(void);
- virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TBakGndFileProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TBakGndFileProperty(void) : Dsgnintf::TClassProperty() { }
-
- };
-
- class DELPHICLASS TDTLabel;
- class PASCALIMPLEMENTATION TDTLabel : public Classes::TPersistent
- {
- typedef Classes::TPersistent inherited;
-
- private:
- TimeFormatType FTimeFormat;
- char FDateSeparator;
- char FTimeSeparator;
- YearLengthType FYearLength;
- bool FMonthName;
- DateOrderType FDateOrder;
- DateForTimeType FDateForTime;
- Classes::TNotifyEvent FOnChange;
- void __fastcall SetTimeFormat(TimeFormatType Value);
- void __fastcall SetDateForTime(DateForTimeType value);
- void __fastcall SetDateSeparator(char Value);
- void __fastcall SetTimeSeparator(char Value);
- void __fastcall SetYearLength(YearLengthType value);
- void __fastcall SetMonthName(bool value);
- void __fastcall SetDAteOrder(DateOrderType value);
-
- public:
- void __fastcall Changed(void);
-
- __published:
- __property TimeFormatType TimeFormat = {read=FTimeFormat, write=SetTimeFormat, nodefault};
- __property char DateSeparator = {read=FDateSeparator, write=SetDateSeparator, nodefault};
- __property char TimeSeparator = {read=FTimeSeparator, write=SetTimeSeparator, nodefault};
- __property YearLengthType YearLength = {read=FYearLength, write=SetYearLength, nodefault};
- __property bool MonthName = {read=FMonthName, write=SetMonthName, nodefault};
- __property DateOrderType DateOrder = {read=FDateOrder, write=SetDAteOrder, nodefault};
- __property DateForTimeType DateForTime = {read=FDateForTime, write=SetDateForTime, nodefault};
- __property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
- public:
- /* TPersistent.Destroy */ __fastcall virtual ~TDTLabel(void) { }
-
- public:
- /* TObject.Create */ __fastcall TDTLabel(void) : Classes::TPersistent() { }
-
- };
-
- enum TRFrameStyle { rbLowered, rbRaised, rbEmbossed, rbEngraved };
-
- enum ItemType { tkNone, tkMarkAt, tkLine, tkLineto, tkRect, tkRectFrame, tk3DBar, tkText, tkMoveTo,
- tkEllipse, tkEverything, tkNotMoveTo };
-
- struct TDrawCan;
- typedef TDrawCan *PDrawCan;
-
- struct TDrawCan
- {
- TDrawCan *Next;
- double x;
- double y;
- Graphics::TColor color;
- int tag;
- Byte lwid;
- Byte ItemClass;
- ItemType Element;
- union
- {
- Byte mark;
- struct foo // this foo is inserted as a bug fix - SDL May97
- {
- System::SmallStringBase<15> txt;
- int size;
-
- };
- struct
- {
- double x3;
- double y3;
- Graphics::TColor fillcol4;
- int depth;
- int angle;
-
- };
- struct
- {
- double ha;
- double hv;
- Graphics::TColor fillcol3;
-
- };
- struct
- {
- double x4;
- double y4;
- Graphics::TColor fillcol2;
- TRFrameStyle framest;
- Graphics::TColor shadowcol;
- Graphics::TColor hilightcol;
-
- };
- struct
- {
- double x2;
- double y2;
- Graphics::TColor fillcol1;
-
- };
-
- };
- } ;
-
- enum FigType { ftNoFigs, ftNum, ftTime, ftNoScales, ftDateTime, ftUserText };
-
- enum GridStyleType { gsNone, gsPoints, gsVertLines, gsHorizLines, gsLines, gsHorizDotLines, gsVertDotLines,
- gsDotLines };
-
- enum TShadowStyle { ssFlying, ssBox };
-
- enum TTextBkg { tbClear, tbSolid };
-
- typedef SmallString<50> LabelStr;
-
- typedef SmallString<15> InscriptStr;
-
- enum ZoomStateType { zsNormal, zsDrawWin };
-
- enum MouseBoxStateType { msNormal, msFirstCorner, msRectDraw, msFinished };
-
- enum MouseActMode { maNone, maPan, maZoomWind, maZoomWindPos, maZoomDrag };
-
- typedef void __fastcall (__closure *TMouseMoveInChartEvent)(System::TObject* Sender, bool InChart, Classes::TShiftState
- Shift, double rMousePosX, double rMousePosY);
-
- typedef void __fastcall (__closure *TZoomPanEvent)(System::TObject* Sender);
-
- class DELPHICLASS TRChart;
- class PASCALIMPLEMENTATION TRChart : public Controls::TGraphicControl
- {
- typedef Controls::TGraphicControl inherited;
-
- private:
- bool LButtonWasDown;
- int MouseAnchorScrX;
- int MouseAnchorScrY;
- double MouseAnchorRcLoX;
- double MouseAnchorRcLoY;
- double MouseAnchorRcHiX;
- double MouseAnchorRcHiY;
- ZoomStateType FZoomState;
- MouseBoxStateType MouseBoxState;
- int LastMouseX;
- int LastMouseY;
- int MouseBoxX1;
- int MouseBoxX2;
- int MouseBoxY1;
- int MouseBoxY2;
- int WindAnchorX;
- int WindAnchorY;
- int WindOldCornerX;
- int WindOldCornerY;
- int FXTickPosCnt;
- int FYTickPosCnt;
- double FXScaleTickPos[50];
- double FYScaleTickPos[50];
- bool FItClassVisib[256];
- TMouseMoveInChartEvent FOnMMvInChart;
- TZoomPanEvent FOnZoomPan;
- Graphics::TBitmap* AuxBmp;
- Graphics::TBitmap* AuxCHBmp;
- Graphics::TBitmap* GrafBmp;
- Graphics::TBitmap* ChartBmp;
- TBakGndImg* FBakGndFile;
- int FDataTag;
- GridStyleType RcGridStyle;
- Graphics::TColor RcGridCol;
- double RcGridDx;
- double RcGridDy;
- int RcLRim;
- int RcRRim;
- int RcTRim;
- int RcBRim;
- int Rc3DRim;
- TShadowStyle RcShadowStyle;
- Graphics::TColor RcShadowColor;
- Graphics::TColor RcShadowBakCol;
- bool RcShortTicksX;
- bool RcShortTicksY;
- bool RcXLog;
- bool RcYLog;
- MouseActMode RcMouseAction;
- TDrawCan *RcFrstCan;
- TDrawCan *RcLastCan;
- TDrawCan *RcLastCanOnShow;
- Graphics::TColor RcDataCol;
- Graphics::TColor RcScaleCol;
- Graphics::TColor RcFillCol;
- Graphics::TColor RcChartCol;
- Graphics::TColor RcWindCol;
- Byte RcLineWid;
- System::AnsiString TitStr;
- InscriptStr RcScaleInscrX;
- InscriptStr RcScaleInscrY;
- double RcBndLoX;
- double RcBndLoY;
- double RcBndHiX;
- double RcBndHiY;
- Byte RcClassDefault;
- int RcDecPlcX;
- int RcDecPlcY;
- double Cpkx;
- double Cpdx;
- double Cpky;
- double Cpdy;
- LabelStr RcXUnits;
- LabelStr RcYUnits;
- int RcXNtick;
- int RcYNtick;
- FigType RcXLabelType;
- FigType RcYLabelType;
- System::AnsiString FUserTickTextX;
- System::AnsiString FUserTickTextY;
- double FMousePosX;
- double FMousePosY;
- TDTLabel* FDTXFormat;
- TDTLabel* FDTYFormat;
- bool FMCurFixed;
- double FCrossHPos[4][2];
- Graphics::TColor FCrossHColor[4];
- TCrossHMode FCrossHMode[4];
- TPenStyle FCrossHLineType[4];
- int FCrossHLineWid[4];
- bool FAutoRedraw;
- int FNumPPa;
- Graphics::TFontStyles FTextFontStyle;
- TTextBkg FTextBkStyle;
- Graphics::TColor FTextBkColor;
- TAlignment FTextAlignment;
- bool FIsometric;
- double FZoomStack[8][4];
- int FZStackPoi;
- double FZoomRange[4];
- virtual void __fastcall AdjustScaling(void);
- System::AnsiString __fastcall AddScaleInscription(System::AnsiString Instring, InscriptStr &Inscr)
- ;
- void __fastcall ConstructChartBmp(Graphics::TCanvas* cv);
- void __fastcall ConstructDataBmp(Graphics::TCanvas* cv, int PosX, int PosY, bool BlkWhite, PDrawCan
- FirstItem);
- void __fastcall DrawCrossHairs(int xPos, int yPos, Graphics::TBitmap* SrcBmp);
- System::AnsiString __fastcall ExtractUserText(System::AnsiString TickText, int ix);
- void __fastcall ForceRange(double xLo, double yLo, double xHi, double yHi, bool EnterToZoomStack, bool
- ConfineRange);
- ItemType __fastcall GetTypeOfFirstItem(void);
- ItemType __fastcall GetTypeOfLastItem(void);
- PDrawCan __fastcall GetFirstItemLL(void);
- bool __fastcall GetClassVisib(Byte cnum);
- double __fastcall GetCHPosX(int chnum);
- double __fastcall GetCHPosY(int chnum);
- void __fastcall InitGraf(Graphics::TCanvas* cv, int PosX, int PosY);
- void __fastcall SetClassVisib(Byte cnum, bool value);
- void __fastcall SetCHPosX(int chnum, double value);
- void __fastcall SetCHPosY(int chnum, double value);
- void __fastcall SetLRim(int r);
- void __fastcall SetRRim(int r);
- void __fastcall SetTRim(int r);
- void __fastcall SetBRim(int r);
- void __fastcall SetRc3DRim(int r);
- void __fastcall SetDataTag(int tag);
- void __fastcall SetShadowStyle(TShadowStyle ss);
- void __fastcall SetShadowColor(Graphics::TColor c);
- void __fastcall SetShadowBakColor(Graphics::TColor c);
- void __fastcall SetClassDefault(Byte DefClass);
- void __fastcall SetDecPlcX(int d);
- void __fastcall SetDecPlcY(int d);
- void __fastcall SetGridStyle(GridStyleType gs);
- void __fastcall SetGridDx(double dx);
- void __fastcall SetGridDy(double dy);
- void __fastcall SetDataCol(Graphics::TColor c);
- void __fastcall SetScaleCol(Graphics::TColor c);
- void __fastcall SetFillCol(Graphics::TColor c);
- void __fastcall SetChartCol(Graphics::TColor c);
- void __fastcall SetWindCol(Graphics::TColor c);
- void __fastcall SetGridCol(Graphics::TColor c);
- void __fastcall SetTitStr(System::AnsiString hstr);
- void __fastcall SetLineWid(Byte w);
- void __fastcall SetXUnits( LabelStr &hstr);
- void __fastcall SetYUnits( LabelStr &hstr);
- void __fastcall SetShortTicksX(bool st);
- void __fastcall SetShortTicksY(bool st);
- void __fastcall SetRcXLog(bool XLog);
- void __fastcall SetRcYLog(bool YLog);
- void __fastcall SetBndLoX(double r);
- void __fastcall SetBndHiX(double r);
- void __fastcall SetBndLoY(double r);
- void __fastcall SetBndHiY(double r);
- void __fastcall SetDTXFormat(TDTLabel* x);
- void __fastcall SetDTYFormat(TDTLabel* x);
- MESSAGE void __fastcall WMMouseMoveInChart(Messages::TWMMouse &Message);
- void __fastcall SetXNTick(int d);
- void __fastcall SetYNTick(int d);
- void __fastcall SetTextFontStyle(Graphics::TFontStyles tfs);
- void __fastcall SetTextBkStyle(TTextBkg bs);
- void __fastcall SetTextBkColor(Graphics::TColor bc);
- void __fastcall SetTextAlignment(Classes::TAlignment al);
- void __fastcall SetXLabType(FigType x);
- void __fastcall SetYLabType(FigType x);
- void __fastcall SetUserTickTextX(System::AnsiString txt);
- void __fastcall SetUserTickTextY(System::AnsiString txt);
- void __fastcall SetScaleInscrX( InscriptStr &x);
- void __fastcall SetScaleInscrY( InscriptStr &x);
- void __fastcall SetBakGndFile(TBakGndImg* x);
- void __fastcall ZoomStateOnStack(void);
- void __fastcall ShowYaxInternal(Graphics::TCanvas* cv, int XPos, double LowRange, double HighRange,
- int NTicks, int DecPlaces, FigType LabelType, bool LogAx, InscriptStr &ScaleInscript, System::AnsiString
- UserTicktext, LabelStr &UnitLabel, bool StoreTickPos);
-
- protected:
- virtual void __fastcall Paint(void);
- DYNAMIC void __fastcall MouseMove(Classes::TShiftState Shift, int X, int Y);
- void __fastcall MouseMoveInChart(bool InChart, Classes::TShiftState Shift, double RMousePosX, double
- RMousePosY);
- DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X,
- int Y);
- DYNAMIC void __fastcall MouseUp(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int
- Y);
- void __fastcall StyleChanged(System::TObject* Sender);
- void __fastcall DoZoomPanEvent(void);
-
- public:
- __fastcall virtual TRChart(Classes::TComponent* AOwner);
- __fastcall virtual ~TRChart(void);
- void __fastcall M2R(int xin, int yin, double &xout, double &yout);
- void __fastcall R2M(double xin, double yin, int &xout, int &yout);
- void __fastcall ClearGraf(void);
- void __fastcall ConfineZoomRange(double xLo, double yLo, double xHi, double yHi);
- void __fastcall ShowGraf(void);
- void __fastcall ShowGrafNewOnly(void);
- virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
- bool __fastcall MouseBox(double &xLo, double &yLo, double &xHi, double &yHi);
- void __fastcall Bar3D(double llx, double lly, double urx, double ury, int Depth, int Angle);
- void __fastcall CopyToBMP(System::AnsiString FName);
- void __fastcall CopyToClipboard(void);
- void __fastcall CopyToOpenPrinter(int &x, int &y, double ScaleF, bool BlkWhite);
- void __fastcall CopyToOpenPrinterHiRes(int &x, int &y, double ScaleF, bool BlkWhite);
- __property double CrossHairPosX[int chnum] = {read=GetCHPosX, write=SetCHPosX};
- __property double CrossHairPosY[int chnum] = {read=GetCHPosY, write=SetCHPosY};
- void __fastcall CrossHairSetPos(int chnum, double x, double y);
- void __fastcall CrossHairSetup(int ch, Graphics::TColor chColor, TCrossHMode Mode, Graphics::TPenStyle
- LineType, int LineWidth);
- __property int DataTag = {read=FDataTag, write=SetDataTag, nodefault};
- void __fastcall DrawTo(double x, double y);
- void __fastcall Ellipse(double cx, double cy, double HorizAxLeng, double VertAxLeng);
- void __fastcall Line(double x1, double y1, double x2, double y2);
- void __fastcall MoveTo(double x, double y);
- void __fastcall MarkAt(double x, double y, Byte mk);
- void __fastcall PrintIt(double ScaleF, bool BlkWhite);
- void __fastcall PrintItHiRes(double ScaleF, bool BlkWhite);
- void __fastcall Rectangle(double x1, double y1, double x2, double y2);
- void __fastcall RectFrame(double x1, double y1, double x2, double y2, TRFrameStyle FrameStyle, Graphics::TColor
- ShadowColor, Graphics::TColor HiLightColor);
- void __fastcall SaveLinkedListASC(System::AnsiString FName);
- void __fastcall SaveLinkedList(System::AnsiString FName);
- void __fastcall LoadLinkedList(System::AnsiString FName, bool AppendIt);
- void __fastcall SetRange(double xLo, double yLo, double xHi, double yHi);
- void __fastcall AutoRange(double rim);
- HIDESBASE void __fastcall Text(double x, double y, int size, System::AnsiString txt);
- void __fastcall RemoveLastItem(void);
- void __fastcall RemoveFirstItem(void);
- void __fastcall RemoveItem(PDrawCan Item);
- void __fastcall FindMinMax(double RangeLoX, double RangeLoY, double RangeHiX, double RangeHiY, double
- &MinX, double &MinY, double &MaxX, double &MaxY);
- PDrawCan __fastcall FindNearestItemReal(double mx, double my, ItemType ItemID, Byte ClassNumber, double
- &Dist);
- PDrawCan __fastcall FindNearestItemScreen(double mx, double my, ItemType ItemID, Byte ClassNumber,
- double &Dist);
- __property PDrawCan FirstItemOfLinkedList = {read=GetFirstItemLL};
- TDrawCan __fastcall GetItemParams(PDrawCan Item);
- void __fastcall SetItemParams(PDrawCan Item, const TDrawCan &ItParams);
- void __fastcall ScaleItem(PDrawCan Item, double kx, double dx, double ky, double dy);
- int __fastcall MarkItemsInWindow(double xLo, double YLo, double XHi, double YHi, ItemType ItemID, Byte
- ClassNumber);
- void __fastcall MarkAllItems(ItemType ItemID, Byte ClassNumber);
- __property bool ClassVisible[Byte cnum] = {read=GetClassVisib, write=SetClassVisib};
- void __fastcall ScaleAllItems(double kx, double dx, double ky, double dy);
- void __fastcall ScaleSelectedItems(double kx, double dx, double ky, double dy, Byte ClassNumber);
- __property ItemType TypeOfLastItem = {read=GetTypeOfLastItem, nodefault};
- __property ItemType TypeOfFirstItem = {read=GetTypeOfFirstItem, nodefault};
- void __fastcall NewColorOfClassItems(Graphics::TColor Newcol, Byte ClassNumber);
- __property ZoomStateType ZoomState = {read=FZoomState, nodefault};
- void __fastcall ZoomHistory(int Index);
-
- __published:
- __property Font ;
- __property Align ;
- __property Visible ;
- __property ShowHint ;
- __property PopupMenu ;
- __property bool AutoRedraw = {read=FAutoRedraw, write=FAutoRedraw, nodefault};
- __property int LRim = {read=RcLRim, write=SetLRim, default=50};
- __property int RRim = {read=RcRRim, write=SetRRim, default=10};
- __property int TRim = {read=RcTRim, write=SetTRim, default=16};
- __property int BRim = {read=RcBRim, write=SetBRim, default=32};
- __property TBakGndImg* BackGroundImg = {read=FBakGndFile, write=SetBakGndFile};
- __property Byte ClassDefault = {read=RcClassDefault, write=SetClassDefault, nodefault};
- __property int DecPlaceX = {read=RcDecPlcX, write=SetDecPlcX, default=1};
- __property int DecPlaceY = {read=RcDecPlcY, write=SetDecPlcY, default=1};
- __property GridStyleType GridStyle = {read=RcGridStyle, write=SetGridStyle, nodefault};
- __property double GridDx = {read=RcGridDx, write=SetGridDx};
- __property double GridDy = {read=RcGridDy, write=SetGridDy};
- __property double RangeLoX = {read=RcBndLoX, write=SetBndLoX};
- __property double RangeHiX = {read=RcBndHiX, write=SetBndHiX};
- __property double RangeLoY = {read=RcBndLoY, write=SetBndLoY};
- __property double RangeHiY = {read=RcBndHiY, write=SetBndHiY};
- __property Graphics::TColor DataColor = {read=RcDataCol, write=SetDataCol, default=0};
- __property Graphics::TColor ScaleColor = {read=RcScaleCol, write=SetScaleCol, default=0};
- __property Graphics::TColor FillColor = {read=RcFillCol, write=SetFillCol, default=12632256};
- __property Graphics::TColor ChartColor = {read=RcChartCol, write=SetChartCol, default=16777215};
- __property Graphics::TColor WindColor = {read=RcWindCol, write=SetWindCol, default=-2147483633};
- __property Graphics::TColor GridColor = {read=RcGridCol, write=SetGridCol, default=0};
- __property Byte LineWidth = {read=RcLineWid, write=SetLineWid, default=1};
- __property System::AnsiString Caption = {read=TitStr, write=SetTitStr};
- __property LabelStr IdAbscissa = {read=RcXUnits, write=SetXUnits};
- __property LabelStr IdOrdinate = {read=RcYUnits, write=SetYUnits};
- __property InscriptStr ScaleInscriptX = {read=RcScaleInscrX, write=SetScaleInscrX};
- __property InscriptStr ScaleInscriptY = {read=RcScaleInscrY, write=SetScaleInscrY};
- __property bool LogScaleX = {read=RcXLog, write=SetRcXLog, nodefault};
- __property bool LogScaleY = {read=RcYLog, write=SetRcYLog, nodefault};
- __property int MinTickX = {read=RcXNtick, write=SetXNTick, default=3};
- __property int MinTickY = {read=RcYNtick, write=SetYNTick, default=3};
- __property double MousePosX = {read=FMousePosX};
- __property double MousePosY = {read=FMousePosY};
- __property MouseActMode MouseAction = {read=RcMouseAction, write=RcMouseAction, nodefault};
- __property bool MouseCursorFixed = {read=FMCurFixed, write=FMCurFixed, nodefault};
- __property int ShadowWidth = {read=Rc3DRim, write=SetRc3DRim, default=0};
- __property TShadowStyle ShadowStyle = {read=RcShadowStyle, write=SetShadowStyle, nodefault};
- __property Graphics::TColor ShadowColor = {read=RcShadowColor, write=SetShadowColor, nodefault};
- __property Graphics::TColor ShadowBakColor = {read=RcShadowBakCol, write=SetShadowBakColor, nodefault
- };
- __property bool ShortTicksX = {read=RcShortTicksX, write=SetShortTicksX, nodefault};
- __property bool ShortTicksY = {read=RcShortTicksY, write=SetShortTicksY, nodefault};
- __property Graphics::TFontStyles TextFontStyle = {read=FTextFontStyle, write=SetTextFontStyle, nodefault
- };
- __property TTextBkg TextBkStyle = {read=FTextBkStyle, write=SetTextBkStyle, nodefault};
- __property Graphics::TColor TextBkColor = {read=FTextBkColor, write=SetTextBkColor, nodefault};
- __property Classes::TAlignment TextAlignment = {read=FTextAlignment, write=SetTextAlignment, nodefault
- };
- __property FigType XLabelType = {read=RcXLabelType, write=SetXLabType, nodefault};
- __property FigType YLabelType = {read=RcYLabelType, write=SetYLabType, nodefault};
- __property System::AnsiString UserTickTextX = {read=FUserTickTextX, write=SetUserTickTextX};
- __property System::AnsiString UserTickTextY = {read=FUserTickTextY, write=SetUserTickTextY};
- __property TDTLabel* DTXFormat = {read=FDTXFormat, write=SetDTXFormat};
- __property TDTLabel* DTYFormat = {read=FDTYFormat, write=SetDTYFormat};
- __property OnClick ;
- __property OnDblClick ;
- __property OnMouseMove ;
- __property OnMouseDown ;
- __property OnMouseUp ;
- __property TMouseMoveInChartEvent OnMouseMoveInChart = {read=FOnMMvInChart, write=FOnMMvInChart};
- __property TZoomPanEvent OnZoomPan = {read=FOnZoomPan, write=FOnZoomPan};
- };
-
- //-- var, const, procedure ---------------------------------------------------
- #define defLRim (Byte)(50)
- #define defRRim (Byte)(10)
- #define defTRim (Byte)(16)
- #define defBRim (Byte)(32)
- #define defShadowWidth (Byte)(0)
- #define defDataCol (int)(0)
- #define defScaleCol (int)(0)
- #define defFillCol (int)(12632256)
- #define defChartCol (int)(16777215)
- #define defWindCol (int)(-2147483633)
- #define defGridCol (int)(0)
- #define defLineWid (Byte)(1)
- #define defRCHeight (Byte)(160)
- #define defRCWidth (Byte)(240)
- extern PACKAGE double defBndLoX;
- extern PACKAGE double defBndLoY;
- extern PACKAGE double defBndHiX;
- extern PACKAGE double defBndHiY;
- #define defDecPlcX (Byte)(1)
- #define defDecPlcY (Byte)(1)
- #define defNXTick (Byte)(3)
- #define defNYTick (Byte)(3)
- #define MaxRCMarks (Byte)(25)
- #define MinRCWidth (Byte)(50)
- #define MinRCHeight (Byte)(10)
- #define MaxTickPos (Byte)(50)
- #define MaxZoomStack (Byte)(8)
- extern PACKAGE Extended RcMaxDouble;
- #define MaxCrossH (Byte)(4)
- extern PACKAGE TrcBakBMPEditor* rcBakBMPEditor;
- extern PACKAGE void __fastcall Register(void);
-
- } /* namespace Rchart */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Rchart;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // RChart
-