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.
37 lines
850 B
C++
37 lines
850 B
C++
#pragma once
|
|
#ifndef CategoryAxis_h__
|
|
#define CategoryAxis_h__
|
|
|
|
#include "AxisConcrete.h"
|
|
#include "CommonDefine.h"
|
|
|
|
namespace NChart
|
|
{
|
|
|
|
class CCategoryAxis :
|
|
public CAxisConcrete
|
|
{
|
|
public:
|
|
CCategoryAxis(CAxisProxy * pProxy,CString label,CChartDataSet * pDataset,const CRect8& rcClient,DIRECTION direction,LAYOUTPOS pos);
|
|
virtual ~CCategoryAxis(void);
|
|
virtual void SetRect(const CRect8& rcClient);
|
|
CDrawingObject* HitTest(const CPoint2D& ptHit);
|
|
virtual void Accept(CChartAbstractVisitor *pVisitor);
|
|
|
|
virtual void SetDataSet(CChartDataSet * pDataset);
|
|
|
|
virtual double OffsetDistance(double val);
|
|
virtual void Draw(CXyDC &dc);
|
|
|
|
void DrawAxisUseRow( CXyDC &dc );
|
|
void DrawAxisUseCol( CXyDC &dc );
|
|
protected:
|
|
virtual bool Create();
|
|
virtual void AxisRangeAutoBound();
|
|
|
|
};
|
|
|
|
}//namespace
|
|
|
|
|
|
#endif // CategoryAxis_h__
|