<?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>idea Charts - Treat double fields as integers in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idi-p/1252618</link>
    <description>&lt;P&gt;Allow the user to specify the way bins are labeled. This chart is showing integer data (ranging from 3-11 - 9 unique values and 9 bins), and while I found the option to only use one decimal place, my chart still has glaring issues. I have two sevens, and it's not immediately clear which bar the integers are each referring to. Before the two 7's, the number is before the bar; after the 7's, you must read the number to the right of the bar.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rburke_0-1674926404512.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61526iE09F16D52FF261FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rburke_0-1674926404512.png" alt="rburke_0-1674926404512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It would be better if the bin values could be labeled underneath, centered like the counts above.&lt;/P&gt;&lt;P&gt;For reference, this is what it shows by default.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rburke_1-1674926446975.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61527i619E39DCA93356D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rburke_1-1674926446975.png" alt="rburke_1-1674926446975.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2023 17:57:57 GMT</pubDate>
    <dc:creator>wayfaringrob</dc:creator>
    <dc:date>2023-11-16T17:57:57Z</dc:date>
    <item>
      <title>Charts - Treat double fields as integers</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idi-p/1252618</link>
      <description>&lt;P&gt;Allow the user to specify the way bins are labeled. This chart is showing integer data (ranging from 3-11 - 9 unique values and 9 bins), and while I found the option to only use one decimal place, my chart still has glaring issues. I have two sevens, and it's not immediately clear which bar the integers are each referring to. Before the two 7's, the number is before the bar; after the 7's, you must read the number to the right of the bar.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rburke_0-1674926404512.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61526iE09F16D52FF261FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rburke_0-1674926404512.png" alt="rburke_0-1674926404512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It would be better if the bin values could be labeled underneath, centered like the counts above.&lt;/P&gt;&lt;P&gt;For reference, this is what it shows by default.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rburke_1-1674926446975.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61527i619E39DCA93356D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rburke_1-1674926446975.png" alt="rburke_1-1674926446975.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 17:57:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idi-p/1252618</guid>
      <dc:creator>wayfaringrob</dc:creator>
      <dc:date>2023-11-16T17:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Charts - user control for bin intervals, labeling</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1254609#M23144</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/501392"&gt;@wayfaringrob&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the question!&lt;/P&gt;&lt;P&gt;A histogram divides your data into bins, where each bin represents a range of values and the height of the bar represents the total number of values from your data that occur within that range. For instance, in the second screenshot you posted, there are 27 values in the "Index_Sum" field that fall between 6.6 and 7.4:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristopherAllen_0-1675372525082.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62006i3DF513E38B176594/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChristopherAllen_0-1675372525082.png" alt="ChristopherAllen_0-1675372525082.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because each bin in a histogram represents a range of values, it's important to show the lower and upper values for that bin.&lt;/P&gt;&lt;P&gt;If you are more interested in visualizing the number of occurrences for each integer value in the "Index_Sum" field, then you might want to use a bar chart instead.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 21:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1254609#M23144</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2023-02-02T21:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Charts - user control for bin intervals, labeling - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1271518#M24002</link>
      <description />
      <pubDate>Fri, 24 Mar 2023 19:42:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1271518#M24002</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2023-03-24T19:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Charts - user control for bin intervals, labeling</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348554#M26966</link>
      <description>&lt;P&gt;Circling back to this: I'm unsure what was going on in my earlier post, but I've run into this again, and I think it has to do with the field type. Even if a decimal field type (e.g. double) holds only integers, the bar chart option isn't there; you get a histogram with unsatisfactory bins and no option to use the field values as axis categories. Now, if I were making the dataset, I wouldn't make a double type field to hold integer data, but I don't always make the data I use. Yes, I could add a new integer field and calculate and re-make my chart, but the option to use quantity categories on any numeric field would save time and be useful. I can also imagine scenarios where I do have decimal data and would still like to have a discrete bar chart rather than a histogram.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 04:12:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348554#M26966</guid>
      <dc:creator>wayfaringrob</dc:creator>
      <dc:date>2023-11-13T04:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Charts - user control for bin intervals, labeling</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348557#M26967</link>
      <description>&lt;P&gt;For example, in working with crash data, my data source has all of these integer values stored as double; it's a little inconvenient to have to convert each and every field to integer just to take a glance at a reasonable chart. I suppose the idea, then, is to allow for more chart types from decimal fields.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wayfaringrob_0-1699848923295.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85728i93D903D2B4E33B62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wayfaringrob_0-1699848923295.png" alt="wayfaringrob_0-1699848923295.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wayfaringrob_1-1699848949762.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85729iAFE416246F57DEFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wayfaringrob_1-1699848949762.png" alt="wayfaringrob_1-1699848949762.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 04:16:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348557#M26967</guid>
      <dc:creator>wayfaringrob</dc:creator>
      <dc:date>2023-11-13T04:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Charts - user control for bin intervals, labeling</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348863#M26981</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/501392"&gt;@wayfaringrob&lt;/a&gt;Thanks for the update and clarification!&lt;/P&gt;&lt;P&gt;As you've discovered, it’s currently not possible to create a bar chart using a Double field. We will keep an eye on this Pro Idea and potentially reevaluate this decision, but for now I’d like to show you one possible workaround.&lt;/P&gt;&lt;P&gt;If you are on Pro 3.1 or higher, you can use Arcade expressions to create the desired bar chart without needing to create and calculate new fields in your dataset. As an example, here I’d like to create a bar chart on the “year” field, which is type Double:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristopherAllen_5-1699903705987.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85823i21837BE146CFD603/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChristopherAllen_5-1699903705987.png" alt="ChristopherAllen_5-1699903705987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since bar charts cannot be created on Double fields, the &lt;STRONG&gt;Bar Chart&lt;/STRONG&gt; option is not shown when I right-click this field in the Data Engineering view. Instead, I’ll need to create a bar chart using the &lt;STRONG&gt;Create Chart&lt;/STRONG&gt;&amp;nbsp;menu option when you right-click the layer in the table of contents:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristopherAllen_6-1699903723902.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85824iCE3BB7CE0D2F3E51/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChristopherAllen_6-1699903723902.png" alt="ChristopherAllen_6-1699903723902.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you should see a blank chart and the &lt;STRONG&gt;Chart Properties&lt;/STRONG&gt; pane should open. Because the “year” field type is Double, it will not appear in the &lt;STRONG&gt;Category or Date &lt;/STRONG&gt;dropdown for this&amp;nbsp; bar chart. Instead, I’ll click the Arcade expression button to open the expression window:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristopherAllen_7-1699903745373.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85825iE32F85A8CE053FA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChristopherAllen_7-1699903745373.png" alt="ChristopherAllen_7-1699903745373.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the expression window I’ll simply pass the “year” field into the &lt;A href="https://developers.arcgis.com/arcade/function-reference/math_functions/#round" target="_blank"&gt;Round&lt;/A&gt; Arcade function in order to round the values to the nearest integer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristopherAllen_8-1699903761899.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85826i81317A4F0657949E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChristopherAllen_8-1699903761899.png" alt="ChristopherAllen_8-1699903761899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I click “OK”, I now see a bar chart that shows the number of records for each rounded integer value:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristopherAllen_9-1699903780527.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85827i25ADAFAE5C13705C/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChristopherAllen_9-1699903780527.png" alt="ChristopherAllen_9-1699903780527.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This approach obviously still requires some extra work but at least it saves you from needing to create and calculate new fields.&lt;/P&gt;&lt;P&gt;Take care,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 19:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348863#M26981</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2023-11-13T19:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Charts - user control for bin intervals, labeling - Status changed to: Open</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348867#M26982</link>
      <description />
      <pubDate>Mon, 13 Nov 2023 19:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348867#M26982</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2023-11-13T19:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Charts - user control for bin intervals, labeling</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348975#M26989</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/485810"&gt;@ChristopherAllen&lt;/a&gt;oooh, good to know! I'll keep this in mind once IT updates me from 3.0 this winter.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 22:40:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348975#M26989</guid>
      <dc:creator>wayfaringrob</dc:creator>
      <dc:date>2023-11-13T22:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Charts - user control for bin intervals, labeling</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348983#M26991</link>
      <description>&lt;P&gt;Awesome, that sounds great&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/501392"&gt;@wayfaringrob&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you mind if I changed the title of this Pro Idea to reflect your request to have charts treat Double fields as categories (for instance, to create a bar chart)?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 22:46:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1348983#M26991</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2023-11-13T22:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Charts - user control for bin intervals, labeling</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1350373#M27076</link>
      <description>&lt;P&gt;Updated the title to reflect the request to have Pro Charts treat double fields as integers so they can be used as categorical variables.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 17:58:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/charts-treat-double-fields-as-integers/idc-p/1350373#M27076</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2023-11-16T17:58:54Z</dc:date>
    </item>
  </channel>
</rss>

