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 1503

Summary: Error with SetChartProperty
Product: VCL TeeChart Reporter: pennyargyrou
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: IN_PROGRESS ---    
Severity: major CC: sandra
Priority: High    
Version: 150120   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: Bar Delphi / C++ Builder RAD IDE Version: RAD XE8
Attachments: error SetChartProperty example

Description pennyargyrou 2016-04-11 09:23:30 EDT
Hello,

When we had an chart that was created on a form in order to avoid create it twice for the report builder we use to call the below code:

ppTeeChart1.SetChartProperty(form1.Chart1);
ppReport1.Print;
ppTeeChart1.SetChartProperty(Nil);

Everything worked fine with delphi 7 and previous versions of components.

Now that we upgraded to Delphi XE8 and Report Builder 16.03 the behavior is very strange.

The chart do not appear from the first click of the Print Button.
Some times an error appears some other is empty and if I click again and again sometime it finally appears.

Am I doing something wrong? Does method SetChartProperty works different in newer versions?

Please also find attached example.

Thank you in advance.

Best regards,

Penny Argyrou.
Comment 1 sandra pazos 2016-04-13 06:55:11 EDT
Hello Penny, 

Could you attach again the example, because that wasn't uploaded?

Thanks for your collaboration.
Comment 2 pennyargyrou 2016-04-13 09:34:35 EDT
Created attachment 589 [details]
error SetChartProperty example

I cannot send the exe file because it is bigger than 2000kb
Comment 3 pennyargyrou 2016-04-21 03:38:54 EDT
Hello,
any news on that?