Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 135

Summary: [TV52011519] PDF Export using TeeSavePanel(TPDFExportFormat, Chart1) on a Horizont...
Product: VCL TeeChart Reporter: narcís calvet <narcis>
Component: ExportAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: david
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description narcís calvet 2013-11-20 09:59:37 EST
PDF Export using TeeSavePanel(TPDFExportFormat, Chart1) on a Horizontal Line Series always shows the series OutLine and LinePen even if those properties are made Invisible. Their color always appears Black no matter what they have been set to. ChartPreviewer of the same chart does not show the OutLine and LinePen.
The same bug exists in Postscript Export.

You can use this code to reproduce the issue:
 
Uses TeePDFCanvas, TeePSCanvas, TeExport, Series;

procedure TForm1.FormCreate(Sender: TObject);
var Series1: THorizLineSeries;
begin
 Series1:=THorizLineSeries.Create(self);
 Chart1.AddSeries(Series1);

 Series1.FillSampleValues();
 Series1.LinePen.Visible:=false;
 Series1.OutLine.Visible:=false;

 Chart1.View3D:=false;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
 TeeSavePanel(TPDFExportFormat, Chart1);
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
 TeeSavePanel(TEPSExportFormat, Chart1);
end;
 
Added by Yeray:
Probably related to this is the discussed here:
http://www.teechart.net/support/viewtopic.php?f=1&t=9153&view=unread#unread
that suggests that changing the line pen width and color and exporting to PDF, the line color comes black.
Also notice that in TeeChartOffice available on the web (compiled in 2007), it works fine. [created:2006-06-26T10:46:56.000+01:00 reported by:narcis@steema.com reported in version:7.07 (TeeChart VCL)]
Comment 1 david berneda 2015-05-13 12:06:13 EDT
Appears fixed in latest version.