Save TChart information

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Woehr.Mi
Newbie
Newbie
Posts: 38
Joined: Mon Jun 23, 2008 12:00 am

Save TChart information

Post by Woehr.Mi » Tue Aug 19, 2008 7:43 am

Hello everybody,

In my TeeChart Project I have to save different Information before the user leaves my TeeChart-Application (CustomAxis - Setup, Axis-Min-Max, Visible Series, Zoomed Mode, and so on..). So that the stored Information are reloaded into my TeeChart when the user starts the Application again. Does anybody of you have an idea how to do this?

Thanks.

Michael

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Tue Aug 19, 2008 8:34 am

Hi Michael,

I think that the easiest solution would be saving your chart to a tee file at OnClose event and reload it at OnCreate event.

Take a look at the "Tutorial 12 - Exporting and Importing Charts". You should find the demos and tutorials at TeeChart's program group.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply