Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSChart 2.0 Reset
Message
From
23/09/2003 13:53:46
 
 
To
23/09/2003 13:38:30
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00831590
Message ID:
00831604
Views:
13
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform