<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: export chart in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/export-chart/m-p/1246651#M9266</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/450516"&gt;@pspada_WT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the question! Unfortunately, there is not currently an official Charts API for the Pro SDK and therefore there isn't any functionality to export a chart graphic. Please feel free to upvote the Pro Idea here if you would like to see a Charts API for the SDK (including export functionality):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/add-public-charting-classes-to-arcgis-pro-sdk/idi-p/928347" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-ideas/add-public-charting-classes-to-arcgis-pro-sdk/idi-p/928347&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I wanted to point out that creating and exporting a chart as an SVG file is possible with the &lt;A href="https://prodev.arcgis.com/en/pro-app/latest/arcpy/charts/what-is-the-charts-module.htm" target="_self"&gt;arcpy.charts module&lt;/A&gt;&amp;nbsp;if Python is an option for you. Here's an example that creates a bar chart an exports as SVG:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
url = r"https://services1.arcgis.com/hLJbHVT9ZrDIzK0I/arcgis/rest/services/CrimesChiTheft/FeatureServer/0"
bar = arcpy.charts.Bar(x="BEAT", aggregation="count", title="Chicago Thefts by Beat", dataSource=url)
bar.exportToSVG('bar.svg', width=800, height=500)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if you're able to share more details about your use case for exporting charts, we might be able to brainstorm alternative solutions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2023 00:22:47 GMT</pubDate>
    <dc:creator>ChristopherAllen</dc:creator>
    <dc:date>2023-01-10T00:22:47Z</dc:date>
    <item>
      <title>export chart</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/export-chart/m-p/1246257#M9257</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've a CIMChart object. There is some way with pro SDK to export it as image?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 10:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/export-chart/m-p/1246257#M9257</guid>
      <dc:creator>pspada_WT</dc:creator>
      <dc:date>2023-01-07T10:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: export chart</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/export-chart/m-p/1246651#M9266</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/450516"&gt;@pspada_WT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the question! Unfortunately, there is not currently an official Charts API for the Pro SDK and therefore there isn't any functionality to export a chart graphic. Please feel free to upvote the Pro Idea here if you would like to see a Charts API for the SDK (including export functionality):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/add-public-charting-classes-to-arcgis-pro-sdk/idi-p/928347" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-ideas/add-public-charting-classes-to-arcgis-pro-sdk/idi-p/928347&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I wanted to point out that creating and exporting a chart as an SVG file is possible with the &lt;A href="https://prodev.arcgis.com/en/pro-app/latest/arcpy/charts/what-is-the-charts-module.htm" target="_self"&gt;arcpy.charts module&lt;/A&gt;&amp;nbsp;if Python is an option for you. Here's an example that creates a bar chart an exports as SVG:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
url = r"https://services1.arcgis.com/hLJbHVT9ZrDIzK0I/arcgis/rest/services/CrimesChiTheft/FeatureServer/0"
bar = arcpy.charts.Bar(x="BEAT", aggregation="count", title="Chicago Thefts by Beat", dataSource=url)
bar.exportToSVG('bar.svg', width=800, height=500)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if you're able to share more details about your use case for exporting charts, we might be able to brainstorm alternative solutions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 00:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/export-chart/m-p/1246651#M9266</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2023-01-10T00:22:47Z</dc:date>
    </item>
  </channel>
</rss>

