TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
Pie Percent
- Newbie

- Posts: 2
- Joined: Tue Mar 16, 2004 5:00 am
Post
by Pie Percent » Sun Oct 31, 2004 10:33 pm
Hi,
I want to save my chart in format gif but I don't know the method (only SaveToBitmapFile).
Help,
Thanks,
www.merops.com 
-
Marjan
- Site Admin

- Posts: 745
- Joined: Fri Nov 07, 2003 5:00 am
- Location: Slovenia
-
Contact:
Post
by Marjan » Tue Nov 02, 2004 7:13 am
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;