series.h

来自「基于18B20的温度采集系统」· C头文件 代码 · 共 268 行

H
268
字号
#if !defined(AFX_SERIES_H__81A5BA83_2D44_49BB_AB47_98C96CDF06B7__INCLUDED_)
#define AFX_SERIES_H__81A5BA83_2D44_49BB_AB47_98C96CDF06B7__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 CAreaSeries;
class CArrowSeries;
class CBarSeries;
class CBubbleSeries;
class CCandleSeries;
class CErrorBarSeries;
class CFastLineSeries;
class CGanttSeries;
class CHorizBarSeries;
class CLineSeries;
class CPieSeries;
class CPointSeries;
class CPolarSeries;
class CShapeSeries;
class CSurfaceSeries;
class CVolumeSeries;
class CTeeFunction;
class CMarks;
class CValueList;
class CBezierSeries;
class CContourSeries;
class CErrorSeries;
class CPoint3DSeries;
class CRadarSeries;
class CClockSeries;
class CWindRoseSeries;
class CBar3DSeries;
class CImageBarSeries;
class CTeePoint2D;
class CDonutSeries;
class CTriSurfaceSeries;
class CBoxPlotSeries;
class CHorizBoxPlotSeries;
class CHistogramSeries;
class CColorGridSeries;
class CHorizLineSeries;
class CBarJoinSeries;
class CHighLowSeries;
class CWaterfallSeries;
class CSmithSeries;
class CPyramidSeries;
class CMapSeries;
class CFunnelSeries;
class CCalendarSeries;
class CValueLists;
class CHorizAreaSeries;
class CPointFigureSeries;
class CGaugeSeries;
class CPen1;
class CVector3DSeries;
class CTowerSeries;
class CPolarBarSeries;
class CBubble3DSeries;
class CHorizHistogramSeries;
class CVolumePipeSeries;
class CIsoSurfaceSeries;
class CDarvasSeries;
class CHighLowLineSeries;
class CPolarGridSeries;
class CBrush1;
class CDeltaPointSeries;
class CImagePointSeries;
class COrgSeries;
class CWorldSeries;
class CTagCloudSeries;
class CKagiSeries;
class CRenkoSeries;

/////////////////////////////////////////////////////////////////////////////
// CSeries wrapper class

class CSeries : public COleDispatchDriver
{
public:
	CSeries() {}		// Calls COleDispatchDriver default constructor
	CSeries(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CSeries(const CSeries& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	BOOL GetActive();
	void SetActive(BOOL bNewValue);
	CAreaSeries GetAsArea();
	CArrowSeries GetAsArrow();
	CBarSeries GetAsBar();
	CBubbleSeries GetAsBubble();
	CCandleSeries GetAsCandle();
	CErrorBarSeries GetAsErrorBar();
	CFastLineSeries GetAsFastLine();
	CGanttSeries GetAsGantt();
	CHorizBarSeries GetAsHorizBar();
	CLineSeries GetAsLine();
	CPieSeries GetAsPie();
	CPointSeries GetAsPoint();
	CPolarSeries GetAsPolar();
	CShapeSeries GetAsShape();
	CSurfaceSeries GetAsSurface();
	CVolumeSeries GetAsVolume();
	unsigned long GetColor();
	void SetColor(unsigned long newValue);
	BOOL GetColorEachPoint();
	void SetColorEachPoint(BOOL bNewValue);
	long GetCount();
	short GetCursor();
	void SetCursor(short nNewValue);
	VARIANT GetDataSource();
	void SetDataSource(const VARIANT& newValue);
	long GetFirstValueIndex();
	CTeeFunction GetFunctionType();
	long GetHorizontalAxis();
	void SetHorizontalAxis(long nNewValue);
	CString GetLabelsSource();
	void SetLabelsSource(LPCTSTR lpszNewValue);
	long GetLastValueIndex();
	CMarks GetMarks();
	CString GetName();
	void SetName(LPCTSTR lpszNewValue);
	CString GetPercentFormat();
	void SetPercentFormat(LPCTSTR lpszNewValue);
	unsigned long GetPointColor(long Index);
	void SetPointColor(long Index, unsigned long newValue);
	CString GetPointLabel(long Index);
	void SetPointLabel(long Index, LPCTSTR lpszNewValue);
	double GetPointValue(long Index);
	void SetPointValue(long Index, double newValue);
	long GetSeriesType();
	BOOL GetShowInLegend();
	void SetShowInLegend(BOOL bNewValue);
	CString GetTitle();
	void SetTitle(LPCTSTR lpszNewValue);
	CString GetValueFormat();
	void SetValueFormat(LPCTSTR lpszNewValue);
	CString GetValueMarkText(long ValueIndex);
	long GetVerticalAxis();
	void SetVerticalAxis(long nNewValue);
	CValueList GetXValues();
	CValueList GetYValues();
	long GetZOrder();
	long Add(double AValue, LPCTSTR ALabel, unsigned long Value);
	long AddNull(LPCTSTR SomeLabel);
	long AddXY(double AX, double AY, LPCTSTR ALabel, unsigned long Value);
	long CalcXPos(long SomeValueIndex);
	long CalcXPosValue(double SomeValue);
	long CalcXSizeValue(double SomeValue);
	long CalcYPos(long SomeValueIndex);
	long CalcYPosValue(double SomeValue);
	long CalcYSizeValue(double SomeValue);
	void CheckDataSource();
	void Clear();
	long Clicked(long XCoord, long YCoord);
	void Delete(long Index);
	void FillSampleValues(long NumValues);
	long GetMousePoint();
	BOOL IsNull(long ValueIndex);
	void RefreshSeries();
	void SetFunction(long AFunction);
	void SwapValues(long a, long b);
	double XScreenToValue(long ScreenCoord);
	CString XValueToText(double SomeValue);
	double YScreenToValue(long ScreenCoord);
	CString YValueToText(double SomeValue);
	CBezierSeries GetAsBezier();
	CContourSeries GetAsContour();
	CErrorSeries GetAsError();
	CPoint3DSeries GetAsPoint3D();
	CRadarSeries GetAsRadar();
	long AddNullXY(double X, double Y, LPCTSTR ALabel);
	CString LegendString(long LegendIndex, long LegendTextStyle);
	unsigned long LegendItemColor(long LegendIndex);
	long CountLegendItems();
	long LegendToValueIndex(long LegendIndex);
	long VisibleCount();
	void AssignValues(long SeriesIndex);
	long GetHorizontalAxisCustom();
	void SetHorizontalAxisCustom(long nNewValue);
	long GetVerticalAxisCustom();
	void SetVerticalAxisCustom(long nNewValue);
	CClockSeries GetAsClock();
	CWindRoseSeries GetAsWindRose();
	CBar3DSeries GetAsBar3D();
	CImageBarSeries GetAsImageBar();
	void DisconnectAxisCustom(BOOL IsHorizontal);
	CTeePoint2D GetMouseValues();
	void AddArray(long ArraySize, const VARIANT& YArray, const VARIANT& XArray);
	long GetDepth();
	void SetDepth(long nNewValue);
	CDonutSeries GetAsDonut();
	CTriSurfaceSeries GetAsTriSurface();
	CBoxPlotSeries GetAsBoxPlot();
	CHorizBoxPlotSeries GetAsHorizBoxPlot();
	CHistogramSeries GetAsHistogram();
	CColorGridSeries GetAsColorGrid();
	CHorizLineSeries GetAsHorizLine();
	CBarJoinSeries GetAsBarJoin();
	CHighLowSeries GetAsHighLow();
	CWaterfallSeries GetAsWaterfall();
	CSmithSeries GetAsSmith();
	CPyramidSeries GetAsPyramid();
	CMapSeries GetAsMap();
	CFunnelSeries GetAsFunnel();
	CCalendarSeries GetAsCalendar();
	void FreeDatasource(BOOL SurePrompt);
	long GetDatasourceType();
	void SetDatasourceType(long nNewValue);
	CValueLists GetValueLists();
	BOOL IsNan(double Value);
	void DeleteRange(long Start, long Quantity);
	void SortByLabels(long Order);
	void SetNull(long ValueIndex);
	CHorizAreaSeries GetAsHorizArea();
	CPointFigureSeries GetAsPointFigure();
	CGaugeSeries GetAsGauge();
	CPen1 GetPen();
	CVector3DSeries GetAsVector3D();
	CTowerSeries GetAsTower();
	double MaxVisibleValue(long valueList);
	double MinVisibleValue(long valueList);
	CPolarBarSeries GetAsPolarBar();
	CBubble3DSeries GetAsBubble3D();
	CHorizHistogramSeries GetAsHorizHistogram();
	BOOL GetShowInEditor();
	void SetShowInEditor(BOOL bNewValue);
	CVolumePipeSeries GetAsVolumePipe();
	CIsoSurfaceSeries GetAsIsoSurface();
	CDarvasSeries GetAsDarvas();
	CHighLowLineSeries GetAsHighLowLine();
	CPolarGridSeries GetAsPolarGrid();
	BOOL GetYMandatory();
	void BeginUpdate();
	void EndUpdate();
	CBrush1 GetBrush();
	CValueList GetMandatoryValueList();
	CValueList GetNotMandatoryValueList();
	CDeltaPointSeries GetAsDeltaPoint();
	CImagePointSeries GetAsImagePoint();
	COrgSeries GetAsOrganizational();
	CWorldSeries GetAsWorld();
	CTagCloudSeries GetAsTagCloud();
	CKagiSeries GetAsKagi();
	CRenkoSeries GetAsRenko();
	BOOL IsValidSourceOf(long SeriesIndex);
	BOOL IsValidSeriesSource(long SeriesIndex);
	BOOL UseAxis();
	CString GetColorSource();
	void SetColorSource(LPCTSTR lpszNewValue);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SERIES_H__81A5BA83_2D44_49BB_AB47_98C96CDF06B7__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?