Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MsGraph

Status
Not open for further replies.

DannC

Programmer
Apr 5, 2001
75
RO
Hi, my friends,

1. I need a little help about how to format a chart. Maybe someone ca give me some pages or threads wich are containg this subject. Anyway I need all avaible type of chart and what I have to do to set them properly.

2. What is the best way to show up a graph in Vfp. Store him into a table (g field) are re-use him or creating in run-time.


Thanks a lot !!!
 
Hi!

Yes, the general field is the best approach. Make a form, put the code to open the table with general field, put OLEBoundControl on the form and bind it by specifying that general field in ControlSource of control. After that you can access all PEMs of the MS Graph control using reference:
thisform.OLEBoundControl.Application.Object....

The objects model of the MS Graph control is described in help files and at the MS site. With Office 2000 MS Chart control installed I get a help when press F1 key when editing MS Chart 200 ActiveX object in design time (ActiveX, not OLEBound content edining in run-time!). However, I have reports that this feature rarely works, so better search MS site .


Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Hi
Read the thread
Create graph images dynamically
thread184-53757

Hope this helps
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK :)
 
Depending on your needs there are also third party add-ons to vfp for graphing.
I use Graphics server. The nice thing about this add-on is that it has a .fll that
works with vfp (it also has ocx). The .fll allows you to control all aspects of the drawing of the graph with calls similar to API. Including trapping clicks on the diagram. It can be shown as a separate window or within your vfp form. It depens on how sofisticated you need to get.

Hope this helps
Linda Richard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top