October 12th, 2005, 07:47 AM
Sorry, I've never used the MSChart control. Perhaps you can find what you're looking for here .
October 11th, 2005, 01:17 PM
I've never used MSChart, but, from looking at what you posted, it appears that you need to use the put_ChartData() method. This is probably due to the fact that C++ is hosting a visual basic...
October 11th, 2005, 12:37 PM
If you added the control through the resource editor, it should have generated a wrapper class for you. The wrapper class will contain the definition for the CMSChart object. You'll need to make...
October 11th, 2005, 08:40 AM
Have you followed the steps to add the chart object to your dialog? The object should be of type CMSChart, not CWnd.
October 11th, 2005, 07:43 AM
Since MSChart is an ActiveX control, it can be used with any language that speaks COM, including C++. Take a look at this article . It should help get you started.