TeeExport

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
jpm
Newbie
Newbie
Posts: 8
Joined: Tue Oct 06, 2015 12:00 am

TeeExport

Post by jpm » Tue Dec 01, 2015 5:57 pm

1.jpg
1.jpg (52.92 KiB) Viewed 8208 times
2.jpg
2.jpg (21.44 KiB) Viewed 8208 times
When I try to save the raw data in text format using the TeeExport dialog box (slide 1) I quite often get an error reporting "not enough memory..." (slide 2). This situation mainly occurs for large series ( over 100'000 points).
It's stange: I save all the x-y couples for each series "by myself" with a very easy procedure and I don't notice that it was necessary to allocate memory for this action: with llops over series and number of points I never met any problems. Maybe you store the list in a listbox wich can be huge in some situations(?)

Could you tell me where the problem is comming from and how can I avoid it.

Thank you in advance for your answer.

JPM

jpm
Newbie
Newbie
Posts: 8
Joined: Tue Oct 06, 2015 12:00 am

Re: TeeExport

Post by jpm » Tue Dec 01, 2015 6:16 pm

for information, I call the dialog box with th following procedure:

Code: Select all



procedure Exporter(var T ; var C : TChart);
var df, af : string;
   begin
   getdir(0,df);
   if Go_to_Current_Scratch() then
      begin
      getdir(0,af);
      TeeExport(TForm(T),C); // ,af);
      end;
   chdir(df);
   end;


Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeExport

Post by Yeray » Wed Dec 02, 2015 11:16 am

Hello,

Are you pressing "Save..." or "Preview..."? If the later, the problem could be in notepad.
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply