Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSChart 2.0 Reset
Message
From
23/09/2003 14:37:27
 
 
To
23/09/2003 13:53:46
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00831590
Message ID:
00831624
Views:
17
hello Claudio

Thank for your post, but not quite.

it does rest the data point labels, the series lables and the z axis labels. but it does not rest the x axis labels, 2nd level axis lables, color of the series collection, header, footer, and the label for the legend list.

but it's a start. i gues unless someone else has a better solution i am going to modify your method and include the objects i need. once i am done i'll post it here (might be a while, as i am doing this on the side from my other projects).


>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform