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.
kev/Drawer/SSBase/PlatBase/LegendManager.h

33 lines
679 B
C

1 month ago
#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__