Loading and saving charts to stream, problems with order

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
jls
Newbie
Newbie
Posts: 19
Joined: Fri Jun 11, 2004 4:00 am

Loading and saving charts to stream, problems with order

Post by jls » Fri Jun 10, 2005 11:14 am

I save and loads charts to stream.

The problem is if I change the datasource type so summary the
XValues.Order is set loNone

If I change it back to dataset the XValues.Order is not set back to loAscending.

If I save this chart and try to load it, it fails (the computer runs out of memory)

The value is set in TeeDBSumEdit
procedure TDBChartSumEditor.BApplyClick(Sender: TObject);

It is not changed back in:
TeeDBSourceEditor
procedure TDBChartSourceEditor.BApplyClick(Sender: TObject);

Is it possible for me to add some code here to make it work?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jun 10, 2005 12:31 pm

Hi jls,

Could you please send us an example application we can run "as-is" to reproduce the problem here?

You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

jls
Newbie
Newbie
Posts: 19
Joined: Fri Jun 11, 2004 4:00 am

it is uploaded

Post by jls » Mon Jun 13, 2005 7:22 am

it is uploaded

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jun 16, 2005 3:18 pm

Hi jls,

Thank you very much for such a clear example.

We have been able to reproduce the problem you reported here and have already added it to our defect list to be fixed in future versions. In the meantime, a solution could be doing everything programmatically.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply