Page 1 of 1
HorizLine series PDF Export always shows OutLine and LinePen
Posted: Thu Jun 22, 2006 4:22 pm
by 9333098
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
Posted: Fri Jun 23, 2006 7:51 am
by narcis
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.
Posted: Fri Jun 23, 2006 1:41 pm
by 9333098
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
Posted: Mon Jun 26, 2006 8:31 am
by narcis
Hi Steve,
Thanks for the reply. I should have thought about that before
.
It is a bug which I have added to our defect list (TV52011519) to be fixed for future releases.
Posted: Wed Sep 06, 2006 3:53 pm
by 9333098
I've discovered that the same bug exists in Postscript Export.
Posted: Thu Sep 07, 2006 9:01 am
by narcis
Hi Steve,
Thanks for the information. I could reproduce it and updated our defect list information.