Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Marketing Director
Message
From
29/01/2003 17:05:44
 
 
To
19/01/2003 21:35:17
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00743345
Message ID:
00746900
Views:
23
Hi Mike,

To change the properties of the graph object you need to instantiate it. Something like this should work.
oForm = CreateObject("Form")
oForm.AddObject("oGraph", "OLEBoundControl")
oForm.oGraph.ControlSource = "MyTable.MyGeneralField"
oForm.oGraph.Object.Chart.ChartTitle.Text = "Marketing Director"

pamela
>I am learning how to work with MS Graph and by reading the Help Files and checking with articles with this forum, I am now able to pass data to the Graph General Field and produce a graph.
>
>But I can find nothing on how to pass a "Title" to the Graph General field.
>
>I need to be able to pass a "Title" for the graph programitically if this is possible.
>
>If anyone knows how to do this, I would appreciate your advice.
>
>Mike Smith
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform