KB-29441: Copying an E3Chart from a screen to a Report.

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

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

,

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *