How to restore chart view

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Mike Jones
Advanced
Posts: 192
Joined: Thu Feb 01, 2007 12:00 am
Contact:

How to restore chart view

Post by Mike Jones » Thu Aug 09, 2007 2:52 pm

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Aug 09, 2007 3:06 pm

Hi Mike,

Yes, there's an example here at the SetDefaultAspect method.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Mike Jones
Advanced
Posts: 192
Joined: Thu Feb 01, 2007 12:00 am
Contact:

Thanks

Post by Mike Jones » Thu Aug 09, 2007 6:10 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Aug 10, 2007 7:59 am

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 :wink: : 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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply