//--------------------------------------------------------------------------- #ifndef ChartUnitH #define ChartUnitH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TChart *Chart1; TLineSeries *Series1; TLineSeries *Series2; TTimer *Timer1; TButton *Button1; TButton *Button2; void __fastcall Timer1Timer(TObject *Sender); void __fastcall Button1Click(TObject *Sender); void __fastcall Button2Click(TObject *Sender); void __fastcall FormDestroy(TObject *Sender); private: // User declarations double *dptrThickness; double *dptrBThickness; int iSize, iBSize; int iCount, iBCount; bool bDir; public: // User declarations __fastcall TForm1(TComponent* Owner); void __fastcall DrawChart(void); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif