/** * @file XTPChartRadarAxisView.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(__XTPCHARTRADARAXISVIEW_H__) # define __XTPCHARTRADARAXISVIEW_H__ /** @endcond */ # if _MSC_VER >= 1000 # pragma once # endif // _MSC_VER >= 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" class CXTPChartRadarDiagramView; /** * @brief * This class abstracts the view of a chart axis and its child items in * a bounding rectangle context. */ class _XTP_EXT_CLASS CXTPChartRadarAxisView : public CXTPChartAxisView { public: /** * @brief * Constructs a CXTPChartRadarAxisView object. * * @param pAxis Pointer to a CXTPChartAxis object. * @param pParentView Pointer to a CXTPChartElementView object. */ CXTPChartRadarAxisView(CXTPChartAxis* pAxis, CXTPChartElementView* pParentView); /** * @brief * Destroys a CXTPChartRadarAxisView object, handles cleanup and deallocation. */ ~CXTPChartRadarAxisView(); public: virtual CXTPChartDeviceCommand* CreateGridLinesDeviceCommand(CXTPChartDeviceContext* pDC) = 0; virtual CXTPChartDeviceCommand* CreateInterlacedDeviceCommand(CXTPChartDeviceContext* pDC) = 0; virtual CXTPChartDeviceCommand* CreateConstantLinesDeviceCommand(CXTPChartDeviceContext* pDC, BOOL bBehind) = 0; virtual CXTPChartDeviceCommand* CreateStripsDeviceCommand(CXTPChartDeviceContext* pDC) = 0; public: CXTPChartRadarDiagramView* GetDiagramView() const; public: BOOL IsPolygonDiagramStyle() const; }; AFX_INLINE CXTPChartRadarAxisView::CXTPChartRadarAxisView(CXTPChartAxis* pAxis, CXTPChartElementView* pParentView) : CXTPChartAxisView(pAxis, pParentView) { } AFX_INLINE CXTPChartRadarAxisView::~CXTPChartRadarAxisView() { } AFX_INLINE CXTPChartRadarDiagramView* CXTPChartRadarAxisView::GetDiagramView() const { return (CXTPChartRadarDiagramView*)GetParentView()->GetParentView(); } /** @cond */ # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif //#if !defined(__XTPCHARTRADARAXISVIEW_H__) /** @endcond */