<?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: color code list using arcade in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134654#M5746</link>
    <description>&lt;P&gt;You can see in my expression that I actually gave you the &lt;STRONG&gt;return&lt;/STRONG&gt; statement, too. If all you want to change is the background color, you don't need anything else.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jan 2022 17:06:42 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2022-01-18T17:06:42Z</dc:date>
    <item>
      <title>color code list using arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134626#M5743</link>
      <description>&lt;P&gt;If someone could please help me with the code and how to implement it. I have a list with status field in it. I would like to color code the status based on choice that was made.&lt;/P&gt;&lt;P&gt;the field name is status&lt;/P&gt;&lt;P&gt;the options are - submitted (color to be red), received (orange), inprogress (yellow), resolved (green)&amp;nbsp;&lt;/P&gt;&lt;P&gt;i believe i need to go to the list and advanced formatting, but that's all i know at this point.&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated!!!&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 16:42:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134626#M5743</guid>
      <dc:creator>JoeLivoti</dc:creator>
      <dc:date>2022-01-18T16:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: color code list using arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134643#M5744</link>
      <description>&lt;P&gt;Simple enough, you just need a quick &lt;STRONG&gt;decode&lt;/STRONG&gt; to convert your statuses into colors.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var bg = Decode($datapoint.status,
'submitted', 'red',
'received', 'orange',
'inprogress', 'yellow',
'resolved', 'green',
'')


return {
  backgroundColor: bg
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 16:58:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134643#M5744</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-01-18T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: color code list using arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134652#M5745</link>
      <description>&lt;P&gt;&amp;nbsp;where in the code do i put that (please forgive me i'm pretty new to arcade in the dashboards)... as i've done in the picture??&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 17:04:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134652#M5745</guid>
      <dc:creator>JoeLivoti</dc:creator>
      <dc:date>2022-01-18T17:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: color code list using arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134654#M5746</link>
      <description>&lt;P&gt;You can see in my expression that I actually gave you the &lt;STRONG&gt;return&lt;/STRONG&gt; statement, too. If all you want to change is the background color, you don't need anything else.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 17:06:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134654#M5746</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-01-18T17:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: color code list using arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134655#M5747</link>
      <description>&lt;P&gt;Gotcha!!!! that works too... i was just looking to change the word color, but this is more dynamic!!! thank you very much!!!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 17:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/color-code-list-using-arcade/m-p/1134655#M5747</guid>
      <dc:creator>JoeLivoti</dc:creator>
      <dc:date>2022-01-18T17:08:59Z</dc:date>
    </item>
  </channel>
</rss>

