HorizLine series PDF Export always shows OutLine and LinePen

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

HorizLine series PDF Export always shows OutLine and LinePen

Post by SteveP » Thu Jun 22, 2006 4:22 pm

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.

TChart 7.07, Delphi 7

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jun 23, 2006 7:51 am

Hi SteveP,

I'm not able to reproduce it here using v7.07, Delphi 7 and the code below. Can you please modify it so that we can reproduce the issue here?

Code: Select all

Uses TeePDFCanvas, TeExport, Series;

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

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;
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
Image Image Image Image Image Image
Instructions - How to post in this forum

SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Post by SteveP » Fri Jun 23, 2006 1:41 pm

Narcis,

Chart1.View3D := false;

to view it as 2D. Nothing will be displayed on the chart (since LinePen and OutLine are invisible). But the saved .pdf will show a black line connecting its points.

You can add Series1.Pointer.Visible := true; to see the points on the chart. Then the saved pdf will have black lines connecting those points.

Steve

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jun 26, 2006 8:31 am

Hi Steve,

Thanks for the reply. I should have thought about that before :wink: .

It is a bug which I have added to our defect list (TV52011519) to be fixed for future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Post by SteveP » Wed Sep 06, 2006 3:53 pm

I've discovered that the same bug exists in Postscript Export.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Sep 07, 2006 9:01 am

Hi Steve,

Thanks for the information. I could reproduce it and updated our defect list information.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply