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.
Shameless bump :-). I was hoping this would be implemented in 2.6, but I still can't find any way to do it. Tim Whiteaker alluded to this in How to refresh a layer's chart list in the map's table of contents, which is now marked as answered, so any additional guidance would be super helpful. According to the Live Visual Tree in VS2019, charts use a ChartPaneView, which is an internal class. Can this be made public? Alternatively, can we access the TOC item and simulate a double-click?
We have an ArcMap workflow where users can create multiple charts on the same feature class, and we have a manager that allows them to open, delete, etc. We are unable to migrate this to Pro because we can't open the charts directly through code. Our current workaround is to include verbiage on the manager UI so the user knows where to find the charts, but this is not ideal.