Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print graph with CLASS 'msgraph.chart'
Message
From
26/06/2004 10:40:42
 
 
To
25/06/2004 01:03:10
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00917096
Message ID:
00917532
Views:
7
Just a suggestion here. You could use MsChart and download Obj2Bmp (made by George Tasker). That could make your job easier in case you lose too much time searching for a solution with MsGraph.

>There is no print graph in my graph output
>how to print it ????
>my code is...
>
>#define crlf CHR(13)+CHR(10)
>#DEFINE tab CHR(9)
>
>CREATE CURSOR mygraph (olegraph G)
>cgdata=''+tab+'Top 10 Visit Reason From Date '+DTOC(sdate)+' To '+DTOC(edate)+crlf
>SELECT temp
>GO TOP
>SCAN
> cgdata=cgdata+reason+tab+ALLTRIM(STR(count))+crlf
>ENDSCAN
>
>SELECT mygraph
>APPEND BLANK
>APPEND GENERAL olegraph CLASS 'msgraph.chart' DATA m.cgdata
>MODIFY GENERAL olegraph nomodify
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Reply
Map
View

Click here to load this message in the networking platform