/** * @file XTPChart2dFunnelDiagram.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(__XTPCHART2DFUNNELDIAGRAM_H__) # define __XTPCHART2DFUNNELDIAGRAM_H__ /** @endcond */ # if _MSC_VER >= 1000 # pragma once # endif // _MSC_VER >= 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" /** * @brief * This class abstracts the funnel diagram. This class is a kind of * CXTPChartDiagram. * * @details * A funnel chart (or a circle graph) is a circular chart divided into sectors, * illustrating percents. In a funnel 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 CXTPChartFunnelDiagram : public CXTPChart2dFunnelDiagramBase { /** @cond */ DECLARE_SERIAL(CXTPChartFunnelDiagram) /** @endcond */ public: /** * @brief * Constructs a CXTPChartFunnelDiagram object. */ CXTPChartFunnelDiagram(); public: /** * @brief * Call this function to create the view of the funnel diagram. * * @param pDC A pointer to chart device context. * @param pParent A pointer to the parent view. * * @return * A pointer to a CXTPChartDiagramView object which points to the newly created * CXTPChartFunnelDiagramView object. */ virtual CXTPChartDiagramView* CreateView(CXTPChartDeviceContext* pDC, CXTPChartElementView* pParent); # ifdef _XTP_ACTIVEX public: /** @cond */ DECLARE_DISPATCH_MAP() DECLARE_INTERFACE_MAP() DECLARE_OLETYPELIB_EX(CXTPChartFunnelDiagram); DECLARE_OLECREATE_EX(CXTPChartFunnelDiagram) /** @endcond */ # endif }; /** @cond */ # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif //#if !defined(__XTPCHART2DFUNNELDIAGRAM_H__) /** @endcond */