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.

28 lines
641 B
C++

#pragma once
#ifndef RadarChart_h__
#define RadarChart_h__
#include "ChartConcrete.h"
namespace NChart
{
class AFX_EXT_CLASS CRadarChart :
public CChartConcrete
{
public:
CRadarChart(CChartObjectProxy * pProxyObject=NULL);
virtual ~CRadarChart(void);
virtual void Draw(CXyDC &dc);
/*virtual CDrawingObject* HitTest(const CPoint2D& ptHit);*/
virtual void Accept(CChartAbstractVisitor *pVisitor);
protected:
virtual void Layout();
virtual void CreateLegend();
virtual void CreateAxis();
void GetRadarControlPoints(vector<CPoint2D>& ptArray,CPoint2D ptOrg,double r, size_t part);
};
}//namespace
#endif // RadarChart_h__