Series Transparency setting is ignored when Exporting
Series Transparency setting is ignored when Exporting
When exporting a chart to an image (e.g. to PNG, JPEG) the series Transparency setting is ignored. The series are output with no transparency i.e. opaque. This is with TeeChart 8.02.
I have tried various series types including bubble and gantt with no success.
Is there a way to get transparency to work when exporting?
I have tried various series types including bubble and gantt with no success.
Is there a way to get transparency to work when exporting?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Kevin,
Yes, you can use Bitmap exporting for transparency. JPEG export doesn't support it.
Yes, you can use Bitmap exporting for transparency. JPEG export doesn't support it.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi Kevin,
yes, export to PNG also keeps the transparency applied.
yes, export to PNG also keeps the transparency applied.
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 27
- Joined: Thu Nov 29, 2007 12:00 am
TRANSPARENCY ANS EXPORT
I used Teechart v. 7.0 (Delphi 7.0). When exporting BMP it was OK.
with Teechart v. 8.02 (Delphi 7.0) is doesn't work. Transparency is only on the screen. After export to BMP format there is no tranparency.
What has changed ?
Janusz
with Teechart v. 8.02 (Delphi 7.0) is doesn't work. Transparency is only on the screen. After export to BMP format there is no tranparency.
What has changed ?
Janusz
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Janusz,
This works fine for me here using v8.03 release candidate. I've just sent you the URL to download it. Could you please check if this works fine at your end?
Thanks in advance.
This works fine for me here using v8.03 release candidate. I've just sent you the URL to download it. Could you please check if this works fine at your end?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 27
- Joined: Thu Nov 29, 2007 12:00 am
transparency in v.8.03
version 8.03.11357
Series1 : TWindRoseSeries
I save screen using :
Chart1.SaveToBmpFile (Name)
There is no tranparency in BMP file
(Print Screen works OK)
Janusz
Series1 : TWindRoseSeries
I save screen using :
Chart1.SaveToBmpFile (Name)
There is no tranparency in BMP file
(Print Screen works OK)
Janusz
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Janusz,
I could reproduce the problem here, I'll add it to the defect list to be reviewed. I've checked that using code above doesn't work in v7 either.
Anyway, you can use code below, I've checked that this exports a bitmap with transparency.
I could reproduce the problem here, I'll add it to the defect list to be reviewed. I've checked that using code above doesn't work in v7 either.
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
Chart1.SaveToBitmapFile('c:\temp\wr.bmp');
end;
Code: Select all
uses TeeBMPOptions;
procedure TForm1.Button1Click(Sender: TObject);
var tmp: TBMPExportFormat;
begin
tmp:= TBMPExportFormat.Create;
tmp.Panel:=Chart1;
tmp.SaveToFile('c:\temp\Chart1BMP.' + tmp.FileExtension);
//Chart1.SaveToBitmapFile('c:\temp\wr.bmp');
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 27
- Joined: Thu Nov 29, 2007 12:00 am
transparency in export
Hi,
I am so glad. Now it works prefect. I have checked out PCX format
and it keeps transparency too ! Thank you for quick answer
Janusz
I am so glad. Now it works prefect. I have checked out PCX format
and it keeps transparency too ! Thank you for quick answer
Janusz