Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing MSGRAPH graph type
Message
From
25/05/1999 17:24:09
Hermann Strijewski
Fast Track Business Solutions
Toronto, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Changing MSGRAPH graph type
Miscellaneous
Thread ID:
00222672
Message ID:
00222672
Views:
56
In the demo program there is some code like this

#DEFINE bartype -4099
CREATE CURSOR TEMP1 (gen1 g)
append blank
cGData = ""+TAB+"Visits"+CRLF+;
"1994"+TAB+"11"+CRLF+;
"1995"+TAB+"33"+CRLF
THIS.LockScreen = .T.
append general gen1 class "msgraph.chart" DATA m.cGData
THIS.OleBoundControl1.ControlSource = "Gen1"
THIS.OleBoundControl1.HasLegend = .T.
THIS.OleBoundControl1.autoformat(bartype,1)

which generates a bar graph. How can I generate an X-Y line graph instead? Does anyone know where this kind of stuff is documented?

I figure I have to change the -4099 to something else. But to what?

Thanks in advance for any advice.

Hermann Strijewski, Clearwater, FL
Next
Reply
Map
View

Click here to load this message in the networking platform