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 1979 - Stack Overflow when calling SaveChartToStream while using PartnerAxis
Summary: Stack Overflow when calling SaveChartToStream while using PartnerAxis
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Export (show other bugs)
Version: 23.171221
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-29 09:08 EST by yeray alonso
Modified: 2023-03-16 07:16 EDT (History)
1 user (show)

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


Attachments
test project (49.99 KB, application/x-zip-compressed)
2018-01-29 09:08 EST, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2018-01-29 09:08:26 EST
Created attachment 808 [details]
test project

As the customer reports in the forums, having two axes set each to be partner axis for the other, saving the chart to a stream causes a Stack Overflow error.

Also, if you only set one of them, then the chart is saved without errors, but loading the chart from the stream generated (LoadChartFromStream) gives an "Invalid property path" error.
Comment 1 david berneda 2023-03-16 07:16:33 EDT
Fixed both problems.

PartnerAxis property is now streamed as a custom hidden property in the dfm stream (via DefineProperties), as an integer, which is correctly loaded and assigned.