Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Graphing
Message
From
08/01/2007 07:52:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01181071
Message ID:
01183388
Views:
22
>>>When I run the code below, from a method, it cannot find oChart.
>>>Besides being an object, what is oChart?

>>>
>>>Did you drop an instance of acxChart from Graphs.vcx ( included with the sample code for the session ) onto a form and name it oChart?
>>>
>>>* MSGraph
>>>
>>>As Cetin correctly states, this code is for generating graphs using MsChart.ocx, not MsGraph
>>
>>FWIW - I concur
>Terry,
>I see some very interesting uses for your graphing program. I took a table created for a report, made the columns to rows and rows to columns, made some hard code changes for your "Populate the DataGrid Object" and used the table as my source to populate the graph. It shouldn't be difficult use afields()and reccount() for the table and substitute in for the hard coded 1 to 8 for the column and row count. Any idea how to relabel the Legend that now shows "R1" to "R8" for rows 1-8 and the "C1" to "C8" labels on the x axis.
>Sammie

Sammie,
Check this for setting various things in MSChart (you can control labels and have more than one label row + grouping in labels etc):
Re: How to use MS Chart in VFP as a ActiveX control? Thread #570325 Message #570338
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform