Automatic Exporting of charts

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Metman
Advanced
Posts: 113
Joined: Fri Dec 21, 2007 12:00 am

Automatic Exporting of charts

Post by Metman » Mon Mar 05, 2012 4:23 pm

Hi

I would like to populate a web page with an image of a chart from my Delphi application. I know I can do this by using either TeeSavePanel or TeeExport as outlined in the demo's. The trouble is I want to do this in just a single click, and if I use either of these methods I have to navigate a dialog in some way. What I would like to be able to do is say generate a particular chart with dimensions of 800x600 (irrespective of what is currently being displayed at) saving it to a particular folder and file name. I could then hook us some code to use WinInet to upload it using FTP to my website and update an out of date chart. As far as I know there are no existing methods I can use to pass the size of the image and file name or path.

Any suggestions on how I could do this would be appreciated :D

Bruce.

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

Re: Automatic Exporting of charts

Post by Narcís » Wed Mar 07, 2012 1:06 pm

Hi Bruce,

Yes, this is possible. You can do this as shown in the image export section in tutorial 12. Tutorials can be found at TeeChart's program group.
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