/** * @file XTPChart2dPyramidDiagramView.h * * @copyright * (c) 1998-2025 Codejock Software, All Rights Reserved. * * This source file is the property of Codejock Software and must not be * redistributed by any means without the explicit written permission of * Codejock Software. * * The use of this source code is governed by the terms and conditions specified * in the Toolkit Pro license agreement. Codejock Software grants you, as a * single software developer, the limited right to use this software on one * computer only. * * Contact Information: * support@codejock.com * http://www.codejock.com * */ /** @cond */ #if !defined(__XTPCHART2DPYRAMIDDIAGRAMVIEW_H__) # define __XTPCHART2DPYRAMIDDIAGRAMVIEW_H__ /** @endcond */ # if _MSC_VER >= 1000 # pragma once # endif // _MSC_VER >= 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" class CXTPChartDiagram; class CXTPChartElementView; /** * @brief * This class abstracts the view of a pyramid diagram. This class is a kind of * CXTPChartDiagramView. * * @details * A pyramid chart (or a circle graph) is a circular chart divided into sectors, * illustrating percents. In a pyramid chart, the arc length of each sector (and * consequently its central angle and area), is proportional to the quantity * it represents. Together, the sectors create a full disk. */ class _XTP_EXT_CLASS CXTPChartPyramidDiagramView : public CXTPChartDiagramView { DECLARE_DYNAMIC(CXTPChartPyramidDiagramView); public: /** * @brief * Constructs a CXTPChartPyramidDiagramView object. * * @param pDiagram A pointer to the pyramid diagram object. * @param pParent A pointer to the parent view. */ CXTPChartPyramidDiagramView(CXTPChartDiagram* pDiagram, CXTPChartElementView* pParent); }; /** @cond */ # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif //#if !defined(__XTPCHART2DPYRAMIDDIAGRAMVIEW_H__) /** @endcond */