Page 1 of 1

Save my chart in format gif

Posted: Sun Oct 31, 2004 10:33 pm
by 9336459
Hi,

I want to save my chart in format gif but I don't know the method (only SaveToBitmapFile).

Help,

Thanks,

www.merops.com :wink:

Posted: Tue Nov 02, 2004 7:13 am
by Marjan
Hi.

All export examples are demonstrated in TeeChart demo. In your case, the following example should give you precise answer:
"All Features -> Exporting -> Chart Picture -> GIF"
Here is the actual gif export implementation (one of many different solutions you can use):

Code: Select all

Uses ..., TeeGif;

With TGIFExportFormat.Create(Self) do
try
  Panel := Chart1;
  SaveToFile('c:\temp\test.gif');
finally
  Free;
end;