<?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: How to use Arcade Expression to dynamically change the value of labels in a dashboard chart in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1132064#M43689</link>
    <description>&lt;P&gt;hi Josh&lt;BR /&gt;&lt;BR /&gt;yes,&amp;nbsp;&amp;nbsp;&lt;BR /&gt;actually I am able to dynamically change the name of the fields in the hosted feature layer. So the answer is yes, the date is stored in the feature layer.&lt;BR /&gt;&lt;BR /&gt;(see the screenshot)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="labelfeaturelayer.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31106i33E35419B9C87751/image-size/large?v=v2&amp;amp;px=999" role="button" title="labelfeaturelayer.png" alt="labelfeaturelayer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jan 2022 16:18:57 GMT</pubDate>
    <dc:creator>Fab_the_lab</dc:creator>
    <dc:date>2022-01-10T16:18:57Z</dc:date>
    <item>
      <title>How to use Arcade Expression to dynamically change the value of labels in a dashboard chart</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1131989#M43684</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I have a chart in the dashboard linked to daily Ozone data.&lt;/P&gt;&lt;P&gt;The data is updated via REST API on a feature layer hosted in AGOL.&lt;/P&gt;&lt;P&gt;The chart on the dashboard is linked to that feature layer.&lt;/P&gt;&lt;P&gt;Well that's great.&lt;/P&gt;&lt;P&gt;The problem is that when I made the chart I inserted some labels that remain fixed and I don't know how to change them so that they display the real day to which they refer!&lt;/P&gt;&lt;P&gt;I was forced to use generic labels, like "one day ago, two days ago, etc.). But it's not exactly the best.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fab_the_lab_1-1641819603558.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31099i37188994EF339405/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fab_the_lab_1-1641819603558.png" alt="Fab_the_lab_1-1641819603558.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;BR /&gt;Could I use Arcade or Phyton to solve the problem?&lt;BR /&gt;How can I use json to dynamically change the dashboard? (a bit like &lt;STRONG&gt;Arcgis Online Assistant&lt;/STRONG&gt; does)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 14:11:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1131989#M43684</guid>
      <dc:creator>Fab_the_lab</dc:creator>
      <dc:date>2022-01-10T14:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Arcade Expression to dynamically change the value of labels in a dashboard chart</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1132047#M43687</link>
      <description>&lt;P&gt;Does the data retain the date information at all?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 15:35:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1132047#M43687</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-01-10T15:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Arcade Expression to dynamically change the value of labels in a dashboard chart</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1132064#M43689</link>
      <description>&lt;P&gt;hi Josh&lt;BR /&gt;&lt;BR /&gt;yes,&amp;nbsp;&amp;nbsp;&lt;BR /&gt;actually I am able to dynamically change the name of the fields in the hosted feature layer. So the answer is yes, the date is stored in the feature layer.&lt;BR /&gt;&lt;BR /&gt;(see the screenshot)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="labelfeaturelayer.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/31106i33E35419B9C87751/image-size/large?v=v2&amp;amp;px=999" role="button" title="labelfeaturelayer.png" alt="labelfeaturelayer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 16:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1132064#M43689</guid>
      <dc:creator>Fab_the_lab</dc:creator>
      <dc:date>2022-01-10T16:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Arcade Expression to dynamically change the value of labels in a dashboard chart</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1132087#M43691</link>
      <description>&lt;P&gt;Oh! I didn't realize that your datapoints were in different fields like that. That would have to be modified at the chart level then, not in the data itself.&lt;/P&gt;&lt;P&gt;I would imagine that this is possible in Python. Check out the&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.apps.dashboard.html#arcgis.apps.dashboard.SerialChart" target="_self"&gt; Dashboard submodule of the API&lt;/A&gt;. If you can identify the chart, I think the &lt;STRONG&gt;data&lt;/STRONG&gt; property is what you want.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 17:03:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1132087#M43691</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-01-10T17:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Arcade Expression to dynamically change the value of labels in a dashboard chart</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1133785#M43760</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Okay, I'll take a look. Thanks so much!!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 10:45:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-arcade-expression-to-dynamically-change/m-p/1133785#M43760</guid>
      <dc:creator>Fab_the_lab</dc:creator>
      <dc:date>2022-01-14T10:45:23Z</dc:date>
    </item>
  </channel>
</rss>

