ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Reports Namespace / IReportElementFactory Interface / CreateChartFrame Method
IElementContainer
Envelope

CreateChartFrame Method (IReportElementFactory)
Creates a chartFrame element on a report from an envelope geometry. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

elementContainer
IElementContainer
envelope
Envelope
mapMember
chartName

Return Value

Returns a ChartFrame.
Remarks
The element gets added to the group at the topmost position.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.7 or higher.
See Also