<?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: No 'showDataLabels' in arcpy.charts for Bar charts? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/no-showdatalabels-in-arcpy-charts-for-bar-charts/m-p/1513353#M86284</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/177716"&gt;@JasonBennett&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the question. You are correct that the functionality to show data labels is not currently exposed for the `Bar` class, but this enhancement is on our near-term radar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 00:15:22 GMT</pubDate>
    <dc:creator>ChristopherAllen</dc:creator>
    <dc:date>2024-08-01T00:15:22Z</dc:date>
    <item>
      <title>No 'showDataLabels' in arcpy.charts for Bar charts?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/no-showdatalabels-in-arcpy-charts-for-bar-charts/m-p/1500343#M85167</link>
      <description>&lt;P&gt;I'm using python to create bar charts and export them to SVG. This is no problem. The only issue I have is that I would like the top of each bar to display the value. If you create the bar chart manually in ArcGIS Pro, there is a little checkbox under Data Labels called Label bars.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonBennett_1-1719931163443.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108557iB72A4B026A4C7B04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JasonBennett_1-1719931163443.png" alt="JasonBennett_1-1719931163443.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this does not seem to be exposed to Python. I tried this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;chart = arcpy.charts.Bar(x=count_field, y=count_field, aggregation='count', showDataLabels=True, dataSource=input_feature)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;showDataLabels does not appear to be a valid parameter. I get this error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;TypeError: Bar.__init__() got an unexpected keyword argument 'showDataLabels'&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;showDataLabels works for Pie charts. So I want to verify that there is no way to enable these labels.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/no-showdatalabels-in-arcpy-charts-for-bar-charts/m-p/1500343#M85167</guid>
      <dc:creator>JasonBennett</dc:creator>
      <dc:date>2024-07-02T14:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: No 'showDataLabels' in arcpy.charts for Bar charts?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/no-showdatalabels-in-arcpy-charts-for-bar-charts/m-p/1513353#M86284</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/177716"&gt;@JasonBennett&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the question. You are correct that the functionality to show data labels is not currently exposed for the `Bar` class, but this enhancement is on our near-term radar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 00:15:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/no-showdatalabels-in-arcpy-charts-for-bar-charts/m-p/1513353#M86284</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2024-08-01T00:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: No 'showDataLabels' in arcpy.charts for Bar charts?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/no-showdatalabels-in-arcpy-charts-for-bar-charts/m-p/1513569#M86307</link>
      <description>&lt;P&gt;Thanks for the answer, Chris. Any chance there are plans to allow exports to other formats like PNG?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 13:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/no-showdatalabels-in-arcpy-charts-for-bar-charts/m-p/1513569#M86307</guid>
      <dc:creator>JasonBennett</dc:creator>
      <dc:date>2024-08-01T13:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: No 'showDataLabels' in arcpy.charts for Bar charts?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/no-showdatalabels-in-arcpy-charts-for-bar-charts/m-p/1513781#M86318</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/177716"&gt;@JasonBennett&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Adding functionality to export an ArcPy chart to PNG (and JPG) is on our near-term radar also. I've made a note of your request so that we can prioritize accordingly. In the meantime, we suggest using a third-party Python module such as &lt;A href="https://cairosvg.org/documentation/" target="_self"&gt;cairosvg&lt;/A&gt;&amp;nbsp;to convert SVG to PNG.&lt;/P&gt;&lt;P&gt;Take care,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 17:18:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/no-showdatalabels-in-arcpy-charts-for-bar-charts/m-p/1513781#M86318</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2024-08-01T17:18:35Z</dc:date>
    </item>
  </channel>
</rss>

