You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include "iXmlBaseItem.h"
|
|
|
|
|
|
#include "mSysUtilsPF_global.h"
|
|
|
|
|
|
|
|
|
|
|
|
// 坐标轴定义
|
|
|
|
|
|
class M_SYSUTILS_PF_EXPORT iDefineChartAxis : public iXmlBaseItem
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
iDefineChartAxis();
|
|
|
|
|
|
~iDefineChartAxis();
|
|
|
|
|
|
|
|
|
|
|
|
// 把List分配到成员变量
|
|
|
|
|
|
// 输入开始的m_listValues中index,并且返回下一个index
|
|
|
|
|
|
virtual int allocateInfo(int nIndex);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
virtual void initXmlTags();
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
// QString m_sName;
|
|
|
|
|
|
bool m_bAxisX; //是否x轴
|
|
|
|
|
|
QString m_sUnit;
|
|
|
|
|
|
bool m_bLinear; //线性坐标
|
|
|
|
|
|
double m_dMax; //范围
|
|
|
|
|
|
double m_dMin;
|
|
|
|
|
|
bool m_bShowScaleSmall; //是否显示次级网格
|
|
|
|
|
|
int m_nColDigit; //绑定的数据表,列的小数位数
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
typedef QVector<iDefineChartAxis*> vecAxisDefinesPtr;
|