<?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 Numeric Fields for Bar Charts in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/numeric-fields-for-bar-charts/m-p/829102#M3221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There seems to be some discrepancy between the ArcGIS Pro UI functionality and the SDK options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a feature class with the following fields. Some are numeric and some are categories (Text)&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/509260_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The UI only allows only &lt;STRONG&gt;Category or Date&lt;/STRONG&gt; fields that is then used as the X-dimension in the chart. and the user cannot pick a numeric field as the X-dimenstion&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/509264_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the SDK however I am able to create a bar chart with a numeric field as the x-dimension.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var series = new CIMChartBarSeries();&lt;BR /&gt; series.Fields = new string[] { "Resampled Depth" };&lt;BR /&gt; var chart = new CIMChart();&lt;BR /&gt; chart.Series = new CIMChartSeries[] { series };&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;With this code I am able to create what looks like a valid chart where it seems like the numeric values have been converted to text and sorted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/509265_pastedImage_8.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is if I want to alter the appearance of this chart in the UI, the series and fields are not recognized&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/509266_pastedImage_9.png" /&gt;&amp;nbsp;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/509267_pastedImage_10.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So with this I have to ask if there are any plans to support Bar Charts with Numeric fields in the UI or will they only be available for manipulation via SDK calls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2020 01:55:32 GMT</pubDate>
    <dc:creator>SerbanMarin</dc:creator>
    <dc:date>2020-10-06T01:55:32Z</dc:date>
    <item>
      <title>Numeric Fields for Bar Charts</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/numeric-fields-for-bar-charts/m-p/829102#M3221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There seems to be some discrepancy between the ArcGIS Pro UI functionality and the SDK options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a feature class with the following fields. Some are numeric and some are categories (Text)&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/509260_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The UI only allows only &lt;STRONG&gt;Category or Date&lt;/STRONG&gt; fields that is then used as the X-dimension in the chart. and the user cannot pick a numeric field as the X-dimenstion&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/509264_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the SDK however I am able to create a bar chart with a numeric field as the x-dimension.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var series = new CIMChartBarSeries();&lt;BR /&gt; series.Fields = new string[] { "Resampled Depth" };&lt;BR /&gt; var chart = new CIMChart();&lt;BR /&gt; chart.Series = new CIMChartSeries[] { series };&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;With this code I am able to create what looks like a valid chart where it seems like the numeric values have been converted to text and sorted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/509265_pastedImage_8.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is if I want to alter the appearance of this chart in the UI, the series and fields are not recognized&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/509266_pastedImage_9.png" /&gt;&amp;nbsp;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/509267_pastedImage_10.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So with this I have to ask if there are any plans to support Bar Charts with Numeric fields in the UI or will they only be available for manipulation via SDK calls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2020 01:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/numeric-fields-for-bar-charts/m-p/829102#M3221</guid>
      <dc:creator>SerbanMarin</dc:creator>
      <dc:date>2020-10-06T01:55:32Z</dc:date>
    </item>
  </channel>
</rss>

