Automatic Exporting of charts
Posted: 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
Bruce.
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
Bruce.