2

The arcpy MakeGraph_management tool suggests that a graph is stored via an in_memory representation that can be either:

  1. added to the host app or
  2. saved using SaveGraph_management.

The graph appears to be stored in a manner similar to an in_memory layer, e.g. in_memory/<name>.grf.

In the case of an in_memory layer, it is possible to add the layer to the map (ToC). I can not find documentation describing how to programmatically add the .grf (an instance of the arcpy.Graph() class) to the map. I am interested in having the graph remain interactive - so I am not using arcpy.mapping to add the graph to a map element.

Does anyone have documentation that describes how to render the graph generated by MakeGraph?

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Aug 1, 2014 at 17:44
0

1 Answer 1

1

As commented by @user681:

you can't, there is no ability, use matplotlib particularly if you want dynamic graphs

Alternatively, you could investigate ArcGIS Pro and/or submit an ArcGIS Idea to get ArcPy enhanced.

answered Dec 17, 2017 at 4:16

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.