Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Graph modifiyng
Message
From
15/09/1999 04:17:02
 
 
To
14/09/1999 17:12:49
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00264376
Message ID:
00264834
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform