Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSChart pie, how to 'explode' slice programmatically
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01386478
Message ID:
01386826
Vues:
54
Maximo

You do know that you can add a chart to a form and then drive it from the VFP window. If it's an In Screen form with a chart on it, run the form. Then, in the command window, type Myform.MyChart to expose the property and methods.

You will have to hack it out - experiment. Once you do you rule. I do a lot of stuff with MSChart - but the questions I had were beyond the how to seminar presentations we're so used to - so I hacked it out.

Check my site. The charts are all interactive. Once you get beyond "how do I make a series red", the message boards can't help you. You got to hack it.

Terry
www.r6solutions.com/


>Hi All
>
>I'm developing an small app for a customer and I'm using MSChart to create pie graphics.
>(I do have it solved with the VFPx FoxChars, very nice, but too slow rendering..., so back to the old OCXs).
>
>I have tried today (until now) to programatically 'explode' a pie slice without success.
>this should work:
>
>formtestchart.oChart.Plot.SeriesCollection(1).DataPoints(-1).offset = 90
>
>but it doesn't...
>
>I'm able to drag one or more slices from the pie chart when formtestchart.oChart.AllowSelections = .t., so the chart is able to do slice exploding or offset, how to do it programatically?
>
>TIA
>
>Max
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform