<< Click to Display Table of Contents >>
Properties |
Usage example of E3Chart properties in a Report
The following script must be created in a Report's Page Header Section, using the OnBeforePrint event.
Sub OnBeforePrint
'Using an E3Chart in a Report
Set chart = _
Report.Sections("PageHeader").Controls("E3Chart1")
chart.LoadData()
chart.FitAll
End Sub
Sub OnBeforePrint
' This script copies configurations from
' E3Chart chartfrom object to E3Chart chart
' which is used in the report.
Set chartfrom = _
Application.GetFrame().Screen.Item("E3Chart1")
Set chart = _
Report.Sections("PageHeader").Controls("E3Chart2")
chart.CopyConfig(chartfrom)
chart.LoadData()
chart.FitAll
End Sub
NOTE |
Descriptions for E3Chart properties in a Report are the same explained on topic View - E3Chart - Properties. |