📄 siartchart.h
字号:
#if !defined(AFX_SIARTCHART_H__DE70D47D_8277_4426_B915_9672E7926481__INCLUDED_)
#define AFX_SIARTCHART_H__DE70D47D_8277_4426_B915_9672E7926481__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
// Dispatch interfaces referenced by this interface
class COleFont;
class CPicture;
/////////////////////////////////////////////////////////////////////////////
// CSIARTChart wrapper class
class CSIARTChart : public CWnd
{
protected:
DECLARE_DYNCREATE(CSIARTChart)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xf750c382, 0x1ae1, 0x4fd9, { 0xaf, 0x5, 0x1a, 0xaf, 0x63, 0x42, 0xdd, 0xe7 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
unsigned long GetLegendBackColor();
void SetLegendBackColor(unsigned long);
unsigned long GetControlBackColor();
void SetControlBackColor(unsigned long);
BOOL GetControlBorder();
void SetControlBorder(BOOL);
double GetNoData();
void SetNoData(double);
CString GetLeftAxisTitle();
void SetLeftAxisTitle(LPCTSTR);
double GetLeftAxisMinRange();
void SetLeftAxisMinRange(double);
double GetLeftAxisMaxRange();
void SetLeftAxisMaxRange(double);
COleFont GetFontName();
void SetFontName(LPDISPATCH);
BOOL GetLegendBorder();
void SetLegendBorder(BOOL);
short GetSeries();
void SetSeries(short);
long GetSerieLineStyle();
void SetSerieLineStyle(long);
short GetLegends();
void SetLegends(short);
short GetLegendID();
void SetLegendID(short);
long GetLegendStyle();
void SetLegendStyle(long);
CString GetLegendTitle();
void SetLegendTitle(LPCTSTR);
unsigned long GetSerieColor();
void SetSerieColor(unsigned long);
unsigned long GetLegendColor();
void SetLegendColor(unsigned long);
short GetSerieID();
void SetSerieID(short);
short GetFonts();
void SetFonts(short);
short GetFontID();
void SetFontID(short);
short GetLeftAxisFontID();
void SetLeftAxisFontID(short);
BOOL GetDisplayLegend();
void SetDisplayLegend(BOOL);
short GetLegendFontID();
void SetLegendFontID(short);
long GetSerieMaxData();
void SetSerieMaxData(long);
double GetTimeAxisMinTime();
void SetTimeAxisMinTime(double);
double GetTimeAxisMaxTime();
void SetTimeAxisMaxTime(double);
short GetTimeAxisFontID();
void SetTimeAxisFontID(short);
CString GetTimeAxisTitle();
void SetTimeAxisTitle(LPCTSTR);
unsigned long GetLeftAxisLineColor();
void SetLeftAxisLineColor(unsigned long);
unsigned long GetTimeAxisLineColor();
void SetTimeAxisLineColor(unsigned long);
unsigned long GetLeftAxisTitleColor();
void SetLeftAxisTitleColor(unsigned long);
unsigned long GetTimeAxisTitleColor();
void SetTimeAxisTitleColor(unsigned long);
CPicture GetControlBackPicture();
void SetControlBackPicture(LPDISPATCH);
long GetPlotTopMargin();
void SetPlotTopMargin(long);
long GetPlotLeftMargin();
void SetPlotLeftMargin(long);
long GetPlotRightMargin();
void SetPlotRightMargin(long);
long GetPlotBottomMargin();
void SetPlotBottomMargin(long);
unsigned long GetPlotColor();
void SetPlotColor(unsigned long);
BOOL GetSerieSymbol();
void SetSerieSymbol(BOOL);
short GetSerieSymbolStyle();
void SetSerieSymbolStyle(short);
short GetSerieSymbolWidth();
void SetSerieSymbolWidth(short);
unsigned long GetSerieSymbolColor();
void SetSerieSymbolColor(unsigned long);
unsigned long GetResizeColor();
void SetResizeColor(unsigned long);
long GetLeftAxisTitleX();
void SetLeftAxisTitleX(long);
long GetLeftAxisTitleY();
void SetLeftAxisTitleY(long);
long GetTimeAxisTitleX();
void SetTimeAxisTitleX(long);
long GetTimeAxisTitleY();
void SetTimeAxisTitleY(long);
BOOL GetTimeAxisLabelOn();
void SetTimeAxisLabelOn(BOOL);
unsigned long GetTimeAxisLabelColor();
void SetTimeAxisLabelColor(unsigned long);
short GetTimeAxisTitleFontID();
void SetTimeAxisTitleFontID(short);
BOOL GetLeftAxisLabelOn();
void SetLeftAxisLabelOn(BOOL);
unsigned long GetLeftAxisLabelColor();
void SetLeftAxisLabelColor(unsigned long);
long GetLegendTop();
void SetLegendTop(long);
long GetLegendLeft();
void SetLegendLeft(long);
long GetLegendRight();
void SetLegendRight(long);
long GetLegendBottom();
void SetLegendBottom(long);
BOOL GetSerieVisible();
void SetSerieVisible(BOOL);
BOOL GetLeftAxisFontVert();
void SetLeftAxisFontVert(BOOL);
long GetTimeAxisMode();
void SetTimeAxisMode(long);
BOOL GetLeftAxisTitleVert();
void SetLeftAxisTitleVert(BOOL);
short GetLeftAxisTitleFontID();
void SetLeftAxisTitleFontID(short);
BOOL GetDisplayValueTips();
void SetDisplayValueTips(BOOL);
BOOL GetLeftAxisHandle();
void SetLeftAxisHandle(BOOL);
BOOL GetTimeAxisHandle();
void SetTimeAxisHandle(BOOL);
short GetLeftAxisDecimal();
void SetLeftAxisDecimal(short);
short GetTimeAxisDecimal();
void SetTimeAxisDecimal(short);
CString GetTimeAxisTimeFormat();
void SetTimeAxisTimeFormat(LPCTSTR);
double GetTimeAxisValue();
void SetTimeAxisValue(double);
double GetLeftAxisValue();
void SetLeftAxisValue(double);
unsigned long GetCursorColor();
void SetCursorColor(unsigned long);
short GetSerieLineWidth();
void SetSerieLineWidth(short);
BOOL GetDemoMode();
void SetDemoMode(BOOL);
BOOL GetRealTimeChart();
void SetRealTimeChart(BOOL);
short GetUpdateRate();
void SetUpdateRate(short);
short GetSerieTagID();
void SetSerieTagID(short);
double GetRealTimeSpan();
void SetRealTimeSpan(double);
CString GetDataSource();
void SetDataSource(LPCTSTR);
CString GetHistDateFormat();
void SetHistDateFormat(LPCTSTR);
CString GetTagConfigFile();
void SetTagConfigFile(LPCTSTR);
BOOL GetDisplayNavigateButton();
void SetDisplayNavigateButton(BOOL);
double GetTimeAxisMostLeftTime();
void SetTimeAxisMostLeftTime(double);
double GetTimeAxisMostRightTime();
void SetTimeAxisMostRightTime(double);
unsigned long GetNavigateButtonLineColor();
void SetNavigateButtonLineColor(unsigned long);
BOOL GetAutoSetMaxTime();
void SetAutoSetMaxTime(BOOL);
BOOL GetAutoDisplayHistData();
void SetAutoDisplayHistData(BOOL);
BOOL GetLegendShowCheckBox();
void SetLegendShowCheckBox(BOOL);
unsigned long GetLegendCheckBoxColor();
void SetLegendCheckBoxColor(unsigned long);
short GetTimeAxisDelta();
void SetTimeAxisDelta(short);
short GetLeftAxisDelta();
void SetLeftAxisDelta(short);
BOOL GetLegendDisplaySerieValue();
void SetLegendDisplaySerieValue(BOOL);
CString GetLegendSerieValueXTitle();
void SetLegendSerieValueXTitle(LPCTSTR);
CString GetLegendSerieValueYTitle();
void SetLegendSerieValueYTitle(LPCTSTR);
short GetLegendSerieValueXDecimal();
void SetLegendSerieValueXDecimal(short);
short GetLegendSerieValueYDecimal();
void SetLegendSerieValueYDecimal(short);
// Operations
public:
void AddXYPoint(short serie, double x, double y);
void Reset(short serie);
void PrintChart();
BOOL SaveDataToFile(LPCTSTR fileName);
BOOL LoadDataFromFile(LPCTSTR fileName);
double GetCursorValue(short iSerieID);
void AddXYArray(short serie, VARIANT* xArray, VARIANT* yArray);
BOOL ShowHistData(DATE startDateTime, DATE endDateTime);
void ShowRealTimeData();
void AddSeriesToLegends();
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SIARTCHART_H__DE70D47D_8277_4426_B915_9672E7926481__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -