Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Graph modifiyng
Message
De
15/09/1999 04:17:02
 
 
À
14/09/1999 17:12:49
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00264376
Message ID:
00264834
Vues:
24
Hi Francesco.

>> I don't find that file <<

It ships with VFP 5.0 (I think) I found it under the VFP 5.0 home directory in

distrib.src\msapps\msgraph5\vba_grp.hlp

Here is a sample. HTH.
FrmDummy=CREATEOBJECT("Form")
FrmDummy.ADDOBJECT("OleGraph","OleBoundControl")
WITH FrmDummy.OleGraph
     .Height = 900
     .Width = 600
     .ControlSource = "GraphBmp.GraphBmp"
     .ChartArea.Border.Color = RGB(0,0,128)
     .ChartArea.Interior.Color = RGB(255,255,128)
     .HasLegend = .T.
     .HasTitle = .F.
     .Legend.LegendEntries(4).Legendkey.Interior.Color = RGB(255,0,0)	 && Red
     .Legend.LegendEntries(3).Legendkey.Interior.Color = RGB(255,255,0) && Yellow
     .Legend.LegendEntries(2).Legendkey.Interior.Color = RGB(0,255,255) && Cyan
     .Legend.LegendEntries(1).Legendkey.Interior.Color = RGB(0,0,128)   && Blue
     .HasLegend = .F.
     .Axes(2).HasTitle = .T.
     .Axes(2).AxisTitle.Caption = "Square Footage in Thousands"
     .Axes(2).AxisTitle.Font.Size = 10
     .Axes(2).TickLabels.Font.Size = 10
     .Axes(1).TickLabels.Font.Size = 10
ENDWITH
RELEASE FrmDummy
Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform