Question:
How can I copy an E3Chart from a screen to a Report?
Solution:
To do so, you must use CopyConfig method in the Report’s scripts. For example:
Sub OnBeforePrint
set chart = report.Sections(“PageHeader”).Controls(“E3Chart1”) ‘Indicates the object’s path in the Report
set chartfonte = Application.GetFrame().Screen.Item(“E3Chart1”) ‘Source E3Chart’s path (the one in the application)
chart.CopyConfig(sourcechart)
chart.LoadData()
End Sub