PC Review


Reply
Thread Tools Rate Thread

API for MS Chart Control

 
 
bill
Guest
Posts: n/a
 
      12th Sep 2005
All,

I realize this is perhaps not the correct forum for this question, but
it has proven difficult to find exactly the right forum. I have in the
past done some charting using VB from both Excel and Access. There are
plenty of examples and I found the process fairly straightforward. I am
now in the situation where I would like to program the MS Chart Control
from a Windows Form in the .NET environment using VC++. I cannot seem
to find any examples of how to use the MS Chart Control from a VC++
Windows Form. There are VB examples and this is usually enough to get
me started. But in this case I am a little stuck. Here is the best I
have been able to do so far after dragging the control onto my form:

axMSChart->set_TitleText(S"My Chart");
axMSChart->set_Width(200);
(and a couple of other simple minded things)

But all of the VB examples have enumerations that I cannot seem to
figure out the VC++ namespace for. Not to mention that the VB methods
do not exactly (or even closely) match the VC++ methods. I thought I
could just deduce everything from intellisense, but no such luck. Also,
the Datasource dropdown for the chart control does not offer any
choices eventhough I have a couple of datasets on the form.

Any suggestions (including where I should post this question) would be
greatly appreciated.

TIA,

Bill

 
Reply With Quote
 
 
 
 
Stephen Bullen
Guest
Posts: n/a
 
      12th Sep 2005
Hi Bill,

> Any suggestions (including where I should post this question) would be
> greatly appreciated.


When you say "The MS Chart Control", is that MSGraph, or the Office Web
Component?

If the latter, you could try public.office.developer.web.components. If
it's MSGraph, try microsoft.public.access or
microsoft.public.powerpoint, but as this is on a .Net form, you're best
bet is probably microsoft.public.vsnet.vstools.office.

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Process control chart for quality control in exel? Kara Microsoft Excel Charting 2 11th May 2010 05:45 PM
Chart Control / Graph Control Alex Lifeson Microsoft Access Form Coding 0 4th Sep 2007 01:44 AM
Chart Control vs Graph Control Alex Lifeson Microsoft Access Form Coding 1 11th May 2006 12:14 PM
Help for MS Chart Control 6.0, thanks a lot! xpengi Microsoft Access Queries 0 13th Jul 2005 09:32 PM
Control equivalent to MS chart control of Vb in ASP.NET =?Utf-8?B?b3Vyc3B0?= Microsoft ASP .NET 1 14th Mar 2005 01:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 PM.