Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Graph
Message
From
13/08/1998 10:54:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/08/1998 09:37:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00124436
Message ID:
00126524
Views:
19
>Thank You very Much Cetin,
>
>You have solve a my problem of creating Graphs. I have some more problems given below. Kindly advise me in this regard.
>
>1. How Can Now I print this OLE graph?
>2. Is there more than 10 types of graph which you have told?
>
>I made a table for customer records. It have a unique indes key which is a Character type.I added the customers record as "001" to "009" and then "100".
>The output see me the "001" then "100" and then all other customer codes. I want to ask from you that if there is a method that will show me the customer codes "001" to "009" and then "100". Keep in mind that I do not want to change the character type of field.
>
>Waiting for positive response.
>Aftab Ahmad

1) Now you use MSGraph and a general field. Then you can create a report file with that gen field on it, sized as appropriate and print.
2) Yes, if you mean constants count for charttype I have sent before. The total list is about 70+ charttypes (including subtypes of main types). From MS site you can download wc0993.exe for a complete list of office constants.

These customer table related with MSGraph ? Anyway MSGraph wouldn't sort on its own. How could you get "001" and then "100" is a mystery to me. Normally what you have already done (padding with zeros) is a way of sorting 1...100..n sequence when type is char. If you said they were "1", "2"..."100" then I might suggest to make them "001","002"... or use val() when indexing, sorting etc.
If this is MSGraph and you mean on the axis you see 1 then 100 then in fact what you might need is to set ticklabels :
with oMyGrpah.axes(xlCategory)
   .TickLabelSpacing = 10     && Determine this based on your customer count
   .TickLabels.Font.Size = 8  && Be sure they would fit there
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
Reply
Map
View

Click here to load this message in the networking platform