General information
Category:
Forms & Form designer
Title:
Changing MSGRAPH graph type
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only