<?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 Bar Chart — Set min/max x-axis bounds using calculated/sysdate values; fill in gaps with empty bars in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/bar-chart-set-min-max-x-axis-bounds-using/idi-p/1251762</link>
    <description>&lt;P&gt;I have a FGDB table that I'll use to make a bar chart:&lt;/P&gt;&lt;PRE&gt;     YEAR_     AMOUNT
&lt;SPAN class=""&gt;---------- ----------&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2024&lt;/SPAN&gt;        &lt;SPAN class=""&gt;100&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2025&lt;/SPAN&gt;        &lt;SPAN class=""&gt;200&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2025&lt;/SPAN&gt;        &lt;SPAN class=""&gt;300&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2026&lt;/SPAN&gt;        &lt;SPAN class=""&gt;400&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2027&lt;/SPAN&gt;        &lt;SPAN class=""&gt;500&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2028&lt;/SPAN&gt;        &lt;SPAN class=""&gt;600&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2028&lt;/SPAN&gt;        &lt;SPAN class=""&gt;700&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2028&lt;/SPAN&gt;        &lt;SPAN class=""&gt;800&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2029&lt;/SPAN&gt;        &lt;SPAN class=""&gt;900&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2031&lt;/SPAN&gt;        &lt;SPAN class=""&gt;100&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1674711018656.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61310i1C20A8D725135967/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1674711018656.png" alt="Bud_0-1674711018656.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That bar chart works, but I need bars in the bar chart&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;for each year within a range&lt;/U&gt;:&lt;FONT face="courier new,courier" color="#0000FF"&gt;&amp;nbsp;system year + 9&lt;/FONT&gt;.&lt;BR /&gt;In other words, I want bars for 10 years, starting with the current year (currently 2023).&lt;/P&gt;&lt;P&gt;But in ArcGIS Pro 3.0.3, I can't control the x-axis bounds:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1674711116851.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61311i763C2493A721FEEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_1-1674711116851.png" alt="Bud_1-1674711116851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ideally, I'd be able to set the x-axis min and max bounds using calculated values:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Min: EXTRACT(YEAR from SYSDATE) &lt;STRONG&gt;= 2023&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Max:&amp;nbsp;EXTRACT(YEAR from SYSDATE) + 9 &lt;STRONG&gt;= 2032&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The x-axis would have bars for &lt;STRONG&gt;all&lt;/STRONG&gt; years in that range: &lt;STRONG&gt;2023,&lt;/STRONG&gt; 2024, 2025, 2026, 2027, 2028, 2029, &lt;STRONG&gt;2030,&lt;/STRONG&gt; 2031, &lt;STRONG&gt;2032.&lt;/STRONG&gt;&amp;nbsp;You'll notice that&amp;nbsp;2023, 2030, and 2032 were missing from the data, but were added due to the range.&lt;/P&gt;&lt;P&gt;It would look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_2-1674711504800.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61312i4FAC131FEC656A19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_2-1674711504800.png" alt="Bud_2-1674711504800.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The x-axis bounds would be dynamic. So on January 1, 2024, the chart would automatically switch from 2023-2032 to 2024-2033.&lt;/LI&gt;&lt;LI&gt;To be clear, I don't want to manually add filler rows to the table or export a copy of the table for modifying the data. I want dynamic bounds in the chart.&lt;/LI&gt;&lt;LI&gt;It's important to note that &lt;STRONG&gt;all&lt;/STRONG&gt;&amp;nbsp;gaps need to be filled; the chart wouldn't look right if there was a gap for 2023, 2030, or 2032.&lt;/LI&gt;&lt;LI&gt;I suppose the programming language for the calculated values would be Arcade.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Could that functionality be added to ArcGIS Pro?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Related:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/force-bar-chart-to-show-missing-years-within-10/m-p/1252591#M64746" target="_self"&gt;Force bar chart to show missing years within 10-year range (system year + 9)&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Mar 2023 18:38:34 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-03-25T18:38:34Z</dc:date>
    <item>
      <title>Bar Chart — Set min/max x-axis bounds using calculated/sysdate values; fill in gaps with empty bars</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/bar-chart-set-min-max-x-axis-bounds-using/idi-p/1251762</link>
      <description>&lt;P&gt;I have a FGDB table that I'll use to make a bar chart:&lt;/P&gt;&lt;PRE&gt;     YEAR_     AMOUNT
&lt;SPAN class=""&gt;---------- ----------&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2024&lt;/SPAN&gt;        &lt;SPAN class=""&gt;100&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2025&lt;/SPAN&gt;        &lt;SPAN class=""&gt;200&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2025&lt;/SPAN&gt;        &lt;SPAN class=""&gt;300&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2026&lt;/SPAN&gt;        &lt;SPAN class=""&gt;400&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2027&lt;/SPAN&gt;        &lt;SPAN class=""&gt;500&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2028&lt;/SPAN&gt;        &lt;SPAN class=""&gt;600&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2028&lt;/SPAN&gt;        &lt;SPAN class=""&gt;700&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2028&lt;/SPAN&gt;        &lt;SPAN class=""&gt;800&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2029&lt;/SPAN&gt;        &lt;SPAN class=""&gt;900&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;2031&lt;/SPAN&gt;        &lt;SPAN class=""&gt;100&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1674711018656.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61310i1C20A8D725135967/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1674711018656.png" alt="Bud_0-1674711018656.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That bar chart works, but I need bars in the bar chart&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;for each year within a range&lt;/U&gt;:&lt;FONT face="courier new,courier" color="#0000FF"&gt;&amp;nbsp;system year + 9&lt;/FONT&gt;.&lt;BR /&gt;In other words, I want bars for 10 years, starting with the current year (currently 2023).&lt;/P&gt;&lt;P&gt;But in ArcGIS Pro 3.0.3, I can't control the x-axis bounds:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1674711116851.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61311i763C2493A721FEEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_1-1674711116851.png" alt="Bud_1-1674711116851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ideally, I'd be able to set the x-axis min and max bounds using calculated values:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Min: EXTRACT(YEAR from SYSDATE) &lt;STRONG&gt;= 2023&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Max:&amp;nbsp;EXTRACT(YEAR from SYSDATE) + 9 &lt;STRONG&gt;= 2032&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The x-axis would have bars for &lt;STRONG&gt;all&lt;/STRONG&gt; years in that range: &lt;STRONG&gt;2023,&lt;/STRONG&gt; 2024, 2025, 2026, 2027, 2028, 2029, &lt;STRONG&gt;2030,&lt;/STRONG&gt; 2031, &lt;STRONG&gt;2032.&lt;/STRONG&gt;&amp;nbsp;You'll notice that&amp;nbsp;2023, 2030, and 2032 were missing from the data, but were added due to the range.&lt;/P&gt;&lt;P&gt;It would look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_2-1674711504800.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61312i4FAC131FEC656A19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_2-1674711504800.png" alt="Bud_2-1674711504800.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The x-axis bounds would be dynamic. So on January 1, 2024, the chart would automatically switch from 2023-2032 to 2024-2033.&lt;/LI&gt;&lt;LI&gt;To be clear, I don't want to manually add filler rows to the table or export a copy of the table for modifying the data. I want dynamic bounds in the chart.&lt;/LI&gt;&lt;LI&gt;It's important to note that &lt;STRONG&gt;all&lt;/STRONG&gt;&amp;nbsp;gaps need to be filled; the chart wouldn't look right if there was a gap for 2023, 2030, or 2032.&lt;/LI&gt;&lt;LI&gt;I suppose the programming language for the calculated values would be Arcade.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Could that functionality be added to ArcGIS Pro?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Related:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/force-bar-chart-to-show-missing-years-within-10/m-p/1252591#M64746" target="_self"&gt;Force bar chart to show missing years within 10-year range (system year + 9)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2023 18:38:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/bar-chart-set-min-max-x-axis-bounds-using/idi-p/1251762</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-25T18:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart — Set min/max x-axis bounds using calculated values; fill in gaps with empty bars - Status changed to: Under Consideration</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/bar-chart-set-min-max-x-axis-bounds-using/idc-p/1271520#M24004</link>
      <description />
      <pubDate>Fri, 24 Mar 2023 19:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/bar-chart-set-min-max-x-axis-bounds-using/idc-p/1271520#M24004</guid>
      <dc:creator>ChristopherAllen</dc:creator>
      <dc:date>2023-03-24T19:50:01Z</dc:date>
    </item>
  </channel>
</rss>

