AnsweredAssumed Answered

Open chart after creation

Question asked by stephengrhea on Oct 15, 2019

Is there a way to open a chart after it's created and added to a layer through the API? I can't find an "Open" method or anything similar on the CIMChart class or a way to open a TOC item by name. The closest thing I can find is to select the layer in the TOC and activate the TOC pane so the user sees that it's created. I'm creating a chart following the process in Public classes to create a chart through the API.

 

In ArcMap we created a chart (IDataGraphT instance) and added it to an IDataGraphWindow2 instance, then called Show.

Outcomes