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 - Last series header missing when exporting to text with TSeriesDataText
Summary: Last series header missing when exporting to text with TSeriesDataText
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Export (show other bugs)
Version: 140923
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-05 09:44 EST by yeray alonso
Modified: 2014-12-05 09:44 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;