/** * @file XTPChartPointSeriesStyle.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(__XTPCHARTPOINTSERIESSTYLE_H__) # define __XTPCHARTPOINTSERIESSTYLE_H__ /** @endcond */ # if _MSC_VER >= 1000 # pragma once # endif // _MSC_VER >= 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" class CXTPChartSeriesView; class CXTPChartMarker; /** * @brief * This class represents a line series style, which is a kind of * CXTPChartSeriesStyle. * * @details * A point chart is a type of graph which displays information as a * series of data points. It is a basic type of chart common in many * fields. */ class _XTP_EXT_CLASS CXTPChartPointSeriesStyle : public CXTPChartDiagram2DSeriesStyle { /** @cond */ DECLARE_SERIAL(CXTPChartPointSeriesStyle) /** @endcond */ public: /** * @brief * Constructs a CXTPChartPointSeriesStyle object. */ CXTPChartPointSeriesStyle(); /** * @brief * Destroys a CXTPChartPointSeriesStyle object, handles cleanup. */ virtual ~CXTPChartPointSeriesStyle(); public: /** * @brief * Call this function to get the marker object associated with this * CXTPChartPointSeriesStyle object. * * @return * A pointer to a CXTPChartMarker object. */ CXTPChartMarker* GetMarker() const; public: void DoPropExchange(CXTPPropExchange* pPX); protected: /** * @brief * Call this function to create a view of the point series. * * @param pSeries A pointer to chart series object. * @param pDiagramView A pointer to the diagram view object. * * @return * Returns a pointer to the associated series view object. */ virtual CXTPChartSeriesView* CreateView(CXTPChartSeries* pSeries, CXTPChartDiagramView* pDiagramView); # ifdef _XTP_ACTIVEX public: /** @cond */ DECLARE_DISPATCH_MAP() DECLARE_INTERFACE_MAP() DECLARE_OLETYPELIB_EX(CXTPChartPointSeriesStyle); DECLARE_OLECREATE_EX(CXTPChartPointSeriesStyle) LPDISPATCH OleGetMarker(); /** @endcond */ # endif protected: CXTPChartMarker* m_pMarker; }; AFX_INLINE CXTPChartMarker* CXTPChartPointSeriesStyle::GetMarker() const { return m_pMarker; } /** @cond */ # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif //#if !defined(__XTPCHARTPOINTSERIESSTYLE_H__) /** @endcond */