Page 1 of 1
How to restore chart view
Posted: Thu Aug 09, 2007 2:52 pm
by 8739068
I would like to programatically save a chart's orientation (its rotation, tilt, zoom, etc) when the chart is first drawn.
Let the user rotate tilt, zoom, the chart
Then by pressing a button reset the view back to the initial settings.
I would like this to work for 2D and 3D charts
Do you have an example that accomplishes this feature?
Posted: Thu Aug 09, 2007 3:06 pm
by narcis
Hi Mike,
Yes, there's an example
here at the
SetDefaultAspect method.
Thanks
Posted: Thu Aug 09, 2007 6:10 pm
by 8739068
That was very helpful.
I always try to search the .NET TeeChart forum and thumb through the demo application before I post a question. I would suggest someone post a FAQ or Tips and Tricks to finding examples like the one you just pointed me to. That way I don't create needless question that take support help away from more important things.
Just a suggestion in hopes of making your life easier.
Thanks again.
Mike
Posted: Fri Aug 10, 2007 7:59 am
by narcis
Hi Mike,
You're very welcome. I'm glad to hear that helped.
Thanks for your suggestion, it's very interesting. Actually we have a FAQ section (disabled at the moment for some maintenance) which already has some examples of that kind. However the forums contain many more examples than the FAQ section. Sometimes it's also quite difficult finding the exact example you are looking for but I have some advantages
: I've made some of them, I've them here and once identified the example I can search for the exact words in the forums, etc.
So maybe we should consider extending our FAQs with some of the most used examples at the forums.