//---------------------------------------------------------------------------

#ifndef StatH
#define StatH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <Chart.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Series.hpp>
#include <TeEngine.hpp>
#include <TeeProcs.hpp>
#include <DB.hpp>
#include <DBTables.hpp>
//---------------------------------------------------------------------------
class TStatForm : public TForm
{
__published:	// IDE-managed Components
        TChart *Chart1;
        TLabel *Label1;
        TDateTimePicker *DTPick2;
        TLineSeries *Series1;
        TLineSeries *Series2;
        TLineSeries *Series3;
        TLineSeries *Series4;
        TBitBtn *yBt;
        TDateTimePicker *DTPick;
        TTimer *Timer1;
        TDataSource *DataSource1;
        TQuery *Query1;
        void __fastcall yBtClick(TObject *Sender);
        void __fastcall DTPickChange(TObject *Sender);
        void __fastcall Timer1Timer(TObject *Sender);
        void __fastcall FormActivate(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TStatForm(TComponent* Owner);
        
        void ChartDraw(String y, String y2);
};
//---------------------------------------------------------------------------
extern PACKAGE TStatForm *StatForm;
//---------------------------------------------------------------------------
#endif
