LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
bill
 
Posts: n/a
Default API for MS Chart Control

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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Activating a Chart object Hari Prasadh Charts and Charting in Excel 6 August 2nd 05 07:22 PM
Urgent Chart Assistance Brent E Charts and Charting in Excel 1 May 10th 05 09:09 AM
Urgent Chart Questions Brent E Excel Discussion (Misc queries) 0 May 9th 05 11:01 PM
Urgent Chart Assistance Requested Brent E Excel Discussion (Misc queries) 0 May 9th 05 11:01 PM
Displaying MS Excel Chart control in ASP.NET Application oursmp Charts and Charting in Excel 0 April 20th 05 04:17 PM


All times are GMT +1. The time now is 08:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"