Page 1 of 1

TSeriesDataText in header last series missing

Posted: Fri Dec 05, 2014 11:01 am
by 16569069
Hi,

Delphi XE5 pro, TeeChart Pro ver 2014.10.140220 32bit VCL

in export data to text there is missing last series in Header line:

Code: Select all

  with TSeriesDataText.Create(chartTRENUTNE,nil) do
  try
    IncludeHeader := True;  // <===
    IncludeLabels := True;
    IncludeIndex:=false;
    CopyToClipboard;
  finally
    Free;
  end;
// we found possible error ?
unit VCLTee.TeeStore;
line 1038 while t<Chart.SeriesCount-1 do ===> while t<=Chart.SeriesCount-1 do // now it's working ( "<" ==> "<=" )

It also happens in designtime editor: data -> Text (with preview + include header) ... missing last series

thank you, Vojko Čendak

Re: TSeriesDataText in header last series missing

Posted: Fri Dec 05, 2014 2:45 pm
by yeray
Hello,

You are right. I've created the ticket, implemented the fix and closed the ticket:
http://bugs.teechart.net/show_bug.cgi?id=1033

So the next maintenance release will include it.