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.
33 lines
679 B
C++
33 lines
679 B
C++
#pragma once
|
|
#ifndef LegendManager_h__
|
|
#define LegendManager_h__
|
|
|
|
#include "compositedrawingobject.h"
|
|
#include "ChartBaseObject.h"
|
|
#include "ChartDataSet.h"
|
|
|
|
namespace NChart
|
|
{
|
|
|
|
class AFX_EXT_CLASS CLegendManager :
|
|
public CCompositeDrawingObject
|
|
{
|
|
public:
|
|
CLegendManager();
|
|
~CLegendManager(void);
|
|
virtual void SetRect(const CRect8& rcClient);
|
|
virtual void Draw(CXyDC &dc);
|
|
virtual int Read(CFile& fr, const short& ver);
|
|
virtual void Write(CFile& fw, const short& ver);
|
|
virtual void SetFont(GDFLOGFONT font);
|
|
LAYOUTPOS m_ePos;
|
|
|
|
protected:
|
|
CChartDataSet * m_pDataset;
|
|
void CreatLegendObject(CChartDataSet * pDataset);
|
|
};
|
|
|
|
}//namespace
|
|
|
|
|
|
#endif // LegendManager_h__
|