Click to See Complete Forum and Search --> : Project dead line is near. help me out please.............


bala.j
May 17th, 1999, 04:31 AM
Hi,
I have to incorporate a graph control in my application. I tried using MS Chart control. But I couldnt come out with a solution. The online msdn help describes the chart control wrpto VB. I really find it difficult to incorporate in VC. Please some one find out a solution for this. I will have to just plot the values from a grid control. Advise me how to use MS Chart control in VC or prescribe me some other ocx and also tell me how to use that ocx.

Thanks and regards,
Bala

Jason Teagle
May 17th, 1999, 06:31 AM
Have you been able to insert it into your project OK? When you do that from the component gallery, VC++ creates a wrapper class which SHOULD provide all the methods to match the VB 'properties'. For example, if there are VB properties called 'Title' (string), 'Row' (integer), 'YValue' (float), then the wrapper class should have GetTitle(), SetTitle() (using BSTR), GetRow(), SetRow(), GetYValue() and SetYValue(). Does this not happen?

The MS Chart control here at work hasn't been installed properly and getting admin. to redo it is impossible, so I can't test it myself.