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

Summary: Stack Overflow when calling SaveChartToStream while using PartnerAxis
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ExportAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david
Priority: ---    
Version: 23.171221   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=16816
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: test project

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.