⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xgraphlogaxis.h

📁 Displaying large amounts of technical data in a chart can be a frustrating task. You can find tons o
💻 H
字号:
#pragma once
#include "xgraphaxis.h"

#ifdef  _AFXDLLclass __declspec(dllexport) CXGraphLogAxis : public CXGraphAxis#else
class __declspec(dllimport) CXGraphLogAxis : public CXGraphAxis
#endif
{
	DECLARE_SERIAL(CXGraphLogAxis)
public:
	CXGraphLogAxis(void);
	CXGraphLogAxis(const CXGraphLogAxis& copy);
	~CXGraphLogAxis(void);

// Attribute
	enum EAxisType {LOG, LINEAR};
private:
	EAxisType m_AxisType;

// Operation
public:
	bool	SetRange(double fMin, double fMax);
	void	AutoScale(CDCEx* pDC);
	void	Draw(CDCEx* pDC);
	double	GetValueForPos(int nPos);
	CPoint	GetPointForValue(TDataPoint* point);
	void	SetAxisType(EAxisType type){m_AxisType = type;};

	CXGraphLogAxis& operator = (const CXGraphLogAxis& copy);
};

⌨️ 快捷键说明

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