Page 1 of 1

Loading and saving charts to stream, problems with order

Posted: Fri Jun 10, 2005 11:14 am
by 9337817
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?

Posted: Fri Jun 10, 2005 12:31 pm
by narcis
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.

it is uploaded

Posted: Mon Jun 13, 2005 7:22 am
by 9337817
it is uploaded

Posted: Thu Jun 16, 2005 3:18 pm
by narcis
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.