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

#ifndef FRAME_ChartFH
#define FRAME_ChartFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include <Graphics.hpp>
#include <Dialogs.hpp>
#include "cxButtons.hpp"
#include "cxCheckBox.hpp"
#include "cxClasses.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxCustomData.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGrid.hpp"
#include "cxGridChartView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridLevel.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxStyles.hpp"
#include "cxTrackBar.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
#include "dxSkinscxPCPainter.hpp"
#include "dxSkinMcSkin.hpp"
//---------------------------------------------------------------------------
class TFRAMEChart : public TFrame
{
__published:	// IDE-managed Components
    TcxGrid *CxChart;
    TcxGridChartView *TvChart;
    TcxGridLevel *GlChart;
    TcxCheckBox *ChkDisplayVal;
    TcxLabel *cxLabel2;
    TcxTrackBar *cxTrackBar1;
    TcxLabel *LblPage;
    TcxButton *BtnGraphSave;
    TcxLabel *lblAll;
    TcxLabel *lblImgSave;
    TcxLabel *lblSaveErr;
    TcxLabel *lblSaveOk;
    void __fastcall ChkDisplayValPropertiesChange(TObject *Sender);
    void __fastcall cxTrackBar1PropertiesChange(TObject *Sender);
    void __fastcall cxTrackBar1MouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
    void __fastcall BtnGraphSaveClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
    String FTitle;
    __fastcall TFRAMEChart(TComponent* Owner);

    void __fastcall SetChartLegend(String ACategory, String AValue);
    void __fastcall ChartValueDisplay(bool FDisplayValue);
};
//---------------------------------------------------------------------------
extern PACKAGE TFRAMEChart *FRAMEChart;
//---------------------------------------------------------------------------
#endif

