Public classes to create a chart through the API

1976
11
Jump to solution
01-15-2018 02:18 PM
StephenRhea
New Contributor III

I'm able to create line charts, profile graphs, etc. on a feature layer, but I have to use the CIMChart classes in the ArcGIS.Core.Internal.CIM namespace. I don't see any documentation online (yay IntelliSense), and the namespace implies that it isn't intended for "public" use. Are there any plans to move the charting API into a publicly documented namespace? If not, what is the best way to plan on creating charts in the future?

Thanks

0 Kudos
11 Replies
DouglasGallup
New Contributor

I know the thread is old, but be sure to also set the UniqueName property on the CIMChartSeries class you're using.  I had issues (with a line series at least) until I added it in 3.0.

ChristopherAllen
Esri Contributor

Hi all,

We are still considering an official Charts API for the SDK, but in the meantime we have added some examples on the ProSnippets site that demonstrate how to create and configure charts using the CIM:

https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Charts

Take care,

Chris

0 Kudos