<?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: Potential bug: Unable to set thresholds in gauges in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1602547#M10977</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/562177"&gt;@DougCainSCE&lt;/a&gt;&amp;nbsp;Amazing, thank you so much. That worked perfectly!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2025 21:34:54 GMT</pubDate>
    <dc:creator>mmoeen</dc:creator>
    <dc:date>2025-04-03T21:34:54Z</dc:date>
    <item>
      <title>Potential bug: Unable to set thresholds in gauges</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1600002#M10947</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been trying to set specific percentage thresholds on the gauges in my dashboard, and am aware that this functionality exists, but I believe I'm seeing a bug. I've tried adding them in different ways but somehow continue to encounter a selection or color specification that leads to the whole gauge showing "error."&lt;/P&gt;&lt;P&gt;Repro steps:&lt;/P&gt;&lt;P&gt;1. Open ArcGIS Dashboards&lt;/P&gt;&lt;P&gt;2. Go to "Gauge"--&amp;gt; "Band"--&amp;gt; "Band colors"&lt;/P&gt;&lt;P&gt;3. Click "+Threshold" 4 or 5 times&lt;/P&gt;&lt;P&gt;4. Start specifying a percentage in the first box, then go to select a color and observe.&lt;/P&gt;&lt;P&gt;5. The minute I try to choose a color, the gauge stops displaying and shows Error instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd really appreciate if someone could look into this and get the bug fixes as soon as possible. Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 16:36:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1600002#M10947</guid>
      <dc:creator>mmoeen</dc:creator>
      <dc:date>2025-03-27T16:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Potential bug: Unable to set thresholds in gauges</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1602315#M10971</link>
      <description>&lt;P&gt;As of early April, 2025, this appears to be an issue. I think this may have been introduced in the Feb 2025 ArcGIS Online update.&lt;/P&gt;&lt;P&gt;We saw this same issue when creating gauge on a dashboard, with the gauge showing only "error."&lt;/P&gt;&lt;P&gt;On existing dashboards, gauges were working as expected, but if we changed the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Band color&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the active threshold, that is, the one that includes the current value, the gauge would immediately break.&lt;/P&gt;&lt;P&gt;Looking at the dashboard in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ArcGIS Online Assistant&lt;/STRONG&gt;, viewing the JSON, it looks like a change was made as to how the colors are being stored for the various thresholds, from hex code to RGB.&lt;/P&gt;&lt;P&gt;For the existing gauge, the previous hex code json:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"colorThresholds": [
    {
        "threshold": 0.3,
        "color": "#ff0000"
    },
    {
        "threshold": 0.6,
        "color": "#ffee00"
    },
    {
        "threshold": 0.99,
        "color": "#26ff00"
    }
]&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;and when we change the color for the active threshold (the 2nd threshold) and save, the json then looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"colorThresholds": [
    {
        "threshold": 0.3,
        "color": "#ff0000"
    },
    {
        "threshold": 0.6,
        "color": [
                     255,
                     187,
                     0,
                     255
                 ]
    },
    {
        "threshold": 0.99,
        "color": "#26ff00"
    }
]&lt;/LI-CODE&gt;&lt;P&gt;Using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ArcGIS Online Assistant&lt;/STRONG&gt;, you can change the element to use a hex code and the gauge will work. We replaced the RGB element in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;colorThresholds&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;element with a hex code value for the same color. This can also be done on a new gauge after saving the dashboard and modifying the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;colorThresholds&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;section in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ArcGIS Online Assistant&lt;/STRONG&gt;. As you configure the gauge, grab the hex codes of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Band colors&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to apply over in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ArcGIS Online Assisant&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;In this example, replace&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;[255, 187, 0, 255]&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"#ffee00"&amp;nbsp;&lt;/STRONG&gt;(include the double quotes for the hex code)&lt;/P&gt;&lt;P&gt;Of course, everytime you want to adjust the color, you'll need to do this operation in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ArcGIS Online Assistant&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as a followup.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 13:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1602315#M10971</guid>
      <dc:creator>DougCainSCE</dc:creator>
      <dc:date>2025-04-03T13:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Potential bug: Unable to set thresholds in gauges</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1602547#M10977</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/562177"&gt;@DougCainSCE&lt;/a&gt;&amp;nbsp;Amazing, thank you so much. That worked perfectly!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 21:34:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1602547#M10977</guid>
      <dc:creator>mmoeen</dc:creator>
      <dc:date>2025-04-03T21:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Potential bug: Unable to set thresholds in gauges</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1604031#M10998</link>
      <description>&lt;P&gt;This is BIG issue; I have the same problem with the gauge element and get an error. This didn't happen before the Feb release.&amp;nbsp; The Feb release caused a lot of issues.&amp;nbsp; These fixes need to happen sooner or will lose faith in the Esri support. These workarounds are too technical for trying to keep critical applications running.&amp;nbsp; These are not game apps.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 23:57:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1604031#M10998</guid>
      <dc:creator>ThomasEdinger</dc:creator>
      <dc:date>2025-04-08T23:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Potential bug: Unable to set thresholds in gauges</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1604158#M10999</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/638039"&gt;@ThomasEdinger&lt;/a&gt;&amp;nbsp;Absolutely, I completely agree. If this issue came up after the Feb release, I'm surprised it still hasn't been caught and fixed yet.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 13:13:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/potential-bug-unable-to-set-thresholds-in-gauges/m-p/1604158#M10999</guid>
      <dc:creator>mmoeen</dc:creator>
      <dc:date>2025-04-09T13:13:25Z</dc:date>
    </item>
  </channel>
</rss>

