Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement