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 1033

Summary: Last series header missing when exporting to text with TSeriesDataText
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ExportAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=15321
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2014-12-05 09:44:13 EST
If you export a chart with several series using TSeriesDataText, the last series header isn't exported.

uses Series, TeeStore;

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  for i:=0 to 4 do
    Chart1.AddSeries(TLineSeries).FillSampleValues;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  with TSeriesDataText.Create(Chart1,nil) do
  try
    IncludeHeader := True;
    IncludeLabels := True;
    IncludeIndex:=false;
    CopyToClipboard;
  finally
    Free;
  end;
end;