is it possible to add a chart to a webmap (new webmap) popup using an Arcade featureSet? I have a feature layer with a related table (1-M) and I would like to be able to use a bar chart to show data from previous years.
The arcade expression returns the featureSet as expected (see image below)... can it be done?
Solved! Go to Solution.
Have you checked out this blog https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/part-2-introducing-arcade-pop-up-con...
I knew I saw it before... Thanks for helping.
Now, I don't see in the Chart Template any options for showing the "data label" and Category label like you could using the Configuration Chart... Am I missing something or it's a limitation of the template?
this isn't supported on charts in popup yet.
I finally got this working today. It would have helped if the article from @PaulBarker covered it needs to be a Arcade element and not a chart. I still do not get why charts cannot do this by default. Why would anyone want to chart one var? I should just be able to feed the chart element a FeatureSet or Array and let it do all this for me. So weird.
Anyways like posted above I finally got it working but with no labels it is not a very useful pie chart.
Any update on this? Or can I feed this into the Chart element Arcade like I thought it did?
thanks a lot
Want that too! Is there a workaround? Can't we reference/call an existing chart in the popup?