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 - Error with SetChartProperty
Summary: Error with SetChartProperty
Status: IN_PROGRESS
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: 150120
Hardware: PC Windows
: High major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-11 09:23 EDT by pennyargyrou
Modified: 2016-05-11 06:22 EDT (History)
1 user (show)

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


Attachments
error SetChartProperty example (60.33 KB, application/x-zip-compressed)
2016-04-13 09:34 EDT, pennyargyrou
Details

Note You need to log in before you can comment on or make changes to this bug.
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?