Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSChart 2.0 Reset
Message
De
23/09/2003 13:53:46
 
 
À
23/09/2003 13:38:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00831590
Message ID:
00831604
Vues:
14
>is there one method to reset the entire MSChart 2.0?
>
>in my app the users can go back to change parameters and then regenerate the graph. however, the graph keeps the changes the user made previously. i need to be able to reset them.
>
>I found "ResetCustomLabel()" and "ResetCustom()", but was hoping not having to loop through all data points and resetting them individually. in addidion i need to reset the legend, title, footer, etc.
>
>so i was hoping to do this all with one method. is there one, or do i have to roll my own? maybe someone already did and doesn't mind sharing it with us?
>
I've been using it on the init method:
With this
    .columncount=1
    .charttype=14
    .rowcount=1
    .rowlabel="Pagamentos"
    .showlegend = .T.
    .COLUMN = 1
    .ROW    = 1
    .DATA   = 0
    .columnlabel=""
    .refresh
Endwith
I believe it will work for you..

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform