Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Graphing with 2 axes
Message
From
22/01/2005 12:41:28
 
 
To
22/01/2005 10:38:00
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00979581
Message ID:
00979628
Views:
15
Thanks Tom

My following VFP code does not produce the Column and Line graph with 2 axes.

ochart=MyClass.oExcel.Sheets[1].Chartobjects.add(45,173,319,190)
ochart.Activate()
? MyClass.oExcel.ActiveChart.ApplyCustomType(21,"Line - Column on 2 Axes")
? MyClass.oExcel.ActiveChart.SetSourceData(x.osheet.Range("a1:c5"),2)

Instead it produces a normal column graph using a single axis. Would appreciate if you could advise where I have gone wrong.

Thanks & Best Regards
Previous
Reply
Map
View

Click here to load this message in the networking platform