Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS chart vs MS graph
Message
De
18/03/2003 02:28:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/03/2003 13:37:48
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00765497
Message ID:
00766900
Vues:
29
>Hi Cetin,
>
>I do appreciate your message.
>
>>-MSgraph existence doesn't guarantee Excel or office existence.
>
>But the, if Excell is installed, MS graph is installed right ?

Not really sure of this.


>
>>-MSgraph object models are different between versions. Your code might fail to work with a higher (or lower) version.
>
>Thanks for that warning. Do you've got information about which versions are incompatible ?

It's been long I dropped using MSGraph. It first hit me between MSGraph5 and 8. However at that time Excel models were changed too. So might not be a danger now.


>
>>-Uninstalling office might render your code useless (somewhere in KB, hard to fix).
>
>That is unlikely going to happen. The charting is optional and certainly not required.
>
>>-Sloooow
>
>I've tested some examples available here, it does to seem to be right for what I'm doing. (not a lot of data, typically just beneath 100 values to chart on.

Data quantity doesn't seem to have much impact on it. Drawing of the graph is slow.

>
>>If you think users who need it would have Excel than I suggest to directly use Excel instead.
>
>>PS: Give a chance to MSChart or OWC.chart :)
>
>For what I'm trying to do flexibility and a complete user interface to control the chart is the single and most important thing. From what I understand, you've to write a great deal of code to provide this with MS chart. Also, MS chart seems to be discontinued, since 1999.

User interface of course is an important part. With MSChart it's almost always you the coder to provide interfaces.
I didn't hear it was discontinued.

>
>I don't know OWC.Chart. Does it provide a rich user interface to control the cart objects ?

OWC.Chart could be seen as a anywhere version of MSGRaph and Excel charting. USers if in any case don't have it they could easily download. It was developed to provide chart interface especially in web pages. Not sure at the moment but I think in office subdirectories there are samples for it (at least for pivot there is).
Visit west-wind web site for some nice code.

>
>Controlling Excell might be an option, but since the excell chart and MS graph are very simular (and for the big part have the same object model), is it going to be faster than MS graph ? If not, what advantage does it have ?
>
>Walter,


Excel charting might be faster or similar to MSGraph speedwise. However I found it to be much more stable. Have a richer set (both for coder and enduser). Doesn't need a general field. Virtually you could make any MSGraph code to work with Excel but the reverse is suspect. It has spreadsheet, pivot etc support behind it :) Using VFP7 and later's object browser you could code with Excel much more easier.

PS: I posted (a long) code to demonstrate MSChart interface. If you didn't see it I could find and point the message id.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform