Click here to Skip to main content
15,897,187 members
Articles / Desktop Programming / MFC

Using the MS Chart control in VC++

Rate me:
Please Sign up or sign in to vote.
4.45/5 (17 votes)
14 Jun 2003 258.1K   6.5K   74  
Setting data and labels on the MS Chart control using VC++
#if !defined(AFX_VCPLOT_H__50ABB950_24DA_41B3_ADBB_71076C5A552B__INCLUDED_)
#define AFX_VCPLOT_H__50ABB950_24DA_41B3_ADBB_71076C5A552B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


// Dispatch interfaces referenced by this interface
class CVcBackdrop;
class CVcRect;
class CVcView3d;
class CVcPlotBase;
class CVcWeighting;
class CVcWall;
class CVcSeriesCollection;
class CVcLight;
class CVcAxis;

/////////////////////////////////////////////////////////////////////////////
// CVcPlot wrapper class

class CVcPlot : public COleDispatchDriver
{
public:
	CVcPlot() {}		// Calls COleDispatchDriver default constructor
	CVcPlot(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CVcPlot(const CVcPlot& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	long GetAngleUnit();
	void SetAngleUnit(long nNewValue);
	BOOL GetClockwise();
	void SetClockwise(BOOL bNewValue);
	long GetSort();
	void SetSort(long nNewValue);
	CVcBackdrop GetBackdrop();
	float GetStartingAngle();
	void SetStartingAngle(float newValue);
	long GetSubPlotLabelPosition();
	void SetSubPlotLabelPosition(long nNewValue);
	float GetBarGap();
	void SetBarGap(float newValue);
	float GetXGap();
	void SetXGap(float newValue);
	BOOL GetAutoLayout();
	void SetAutoLayout(BOOL bNewValue);
	float GetWidthToHeightRatio();
	void SetWidthToHeightRatio(float newValue);
	float GetDepthToHeightRatio();
	void SetDepthToHeightRatio(float newValue);
	CVcRect GetLocationRect();
	long GetProjection();
	void SetProjection(long nNewValue);
	float GetZGap();
	void SetZGap(float newValue);
	CVcView3d GetView3d();
	CVcPlotBase GetPlotBase();
	CVcWeighting GetWeighting();
	CVcWall GetWall();
	CVcSeriesCollection GetSeriesCollection();
	BOOL GetDataSeriesInRow();
	void SetDataSeriesInRow(BOOL bNewValue);
	CVcLight GetLight();
	long GetDefaultPercentBasis();
	BOOL GetUniformAxis();
	void SetUniformAxis(BOOL bNewValue);
	CVcAxis GetAxis(long axisID, const VARIANT& Index);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VCPLOT_H__50ABB950_24DA_41B3_ADBB_71076C5A552B__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Architect
India India
Hi everyone!! Sometimes I get real stumped with some concepts and that gets me excited.So I say - hey let me explore - and there I go!! .Currently I am working as software engineer for Nokia Siemens Networks, Bangalore -India.My dream subject - Physics!!

Comments and Discussions