109 lines
3.7 KiB
C++
109 lines
3.7 KiB
C++
// XTPChartLineSeriesErrorBar.h
|
|
//
|
|
// This file is a part of the XTREME TOOLKIT PRO MFC class library.
|
|
// (c)1998-2013 Codejock Software, All Rights Reserved.
|
|
//
|
|
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
|
|
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
|
|
// CONSENT OF CODEJOCK SOFTWARE.
|
|
//
|
|
// THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED
|
|
// IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO
|
|
// YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A
|
|
// SINGLE COMPUTER.
|
|
//
|
|
// CONTACT INFORMATION:
|
|
// support@codejock.com
|
|
// http://www.codejock.com
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//{{AFX_CODEJOCK_PRIVATE
|
|
#if !defined(__XTPCHARTLINESERIESERRORBAR_H__)
|
|
#define __XTPCHARTLINESERIESERRORBAR_H__
|
|
//}}AFX_CODEJOCK_PRIVATE
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
|
|
class CXTPChartSeriesView;
|
|
|
|
|
|
|
|
//===========================================================================
|
|
// Summary:
|
|
// Remarks:
|
|
// See Also:
|
|
//===========================================================================
|
|
class _XTP_EXT_CLASS CXTPChartLineSeriesErrorBar : public CXTPChartErrorBar
|
|
{
|
|
DECLARE_SERIAL(CXTPChartLineSeriesErrorBar);
|
|
public:
|
|
|
|
//-----------------------------------------------------------------------
|
|
// Summary:
|
|
// Constructs a CXTPChartLineSeriesErrorBar object.
|
|
// Remarks:
|
|
//-----------------------------------------------------------------------
|
|
CXTPChartLineSeriesErrorBar();
|
|
|
|
//-------------------------------------------------------------------------
|
|
// Summary:
|
|
// Destroys a CXTPChartLineSeriesErrorBar object, handles cleanup
|
|
//-------------------------------------------------------------------------
|
|
virtual ~CXTPChartLineSeriesErrorBar();
|
|
|
|
public:
|
|
//-----------------------------------------------------------------------
|
|
// Summary:
|
|
// This function create the view of the bar series label.
|
|
// Parameters:
|
|
// pDC - The device context.
|
|
// pPointView - A pointer to the series point view object.
|
|
// Returns:
|
|
// A pointer to CXTPChartElementView object, which a polymorphic to CXTPChartBarSeriesLabelView.
|
|
// Remarks:
|
|
//-----------------------------------------------------------------------
|
|
virtual CXTPChartElementView* CreateView(CXTPChartDeviceContext* pDC, CXTPChartSeriesPointView* pPointView, CXTPChartElementView* pParentView);
|
|
|
|
void DoPropExchange(CXTPPropExchange* pPX);
|
|
|
|
public:
|
|
|
|
#ifdef _XTP_ACTIVEX
|
|
public:
|
|
//{{AFX_CODEJOCK_PRIVATE
|
|
DECLARE_DISPATCH_MAP()
|
|
DECLARE_INTERFACE_MAP()
|
|
DECLARE_OLETYPELIB_EX(CXTPChartLineSeriesErrorBar);
|
|
//}}AFX_CODEJOCK_PRIVATE
|
|
#endif
|
|
|
|
};
|
|
|
|
//===========================================================================
|
|
// Summary:
|
|
// This class abstracts the view of the label of a bar series, it is a kind of point
|
|
// series label view.
|
|
// Remarks:
|
|
// See Also:
|
|
//===========================================================================
|
|
class _XTP_EXT_CLASS CXTPChartLineSeriesErrorBarView : public CXTPChartErrorBarView
|
|
{
|
|
public:
|
|
//-----------------------------------------------------------------------
|
|
// Summary:
|
|
// Constructs a CXTPChartLineSeriesErrorBarView object.
|
|
// Parameters:
|
|
// pLabel - Pointer chart series label.
|
|
// pPointView - Pointer to chart series point view.
|
|
// Remarks:
|
|
//-----------------------------------------------------------------------
|
|
CXTPChartLineSeriesErrorBarView(CXTPChartErrorBar *pErrorBar, CXTPChartSeriesPointView *pPointView, CXTPChartElementView *pParentView);
|
|
|
|
void CalculateLayout(CXTPChartDeviceContext *pDC);
|
|
};
|
|
|
|
#endif //#if !defined(__XTPCHARTLINESERIESERRORBAR_H__)
|