Chart Widget Change: "Framework" to "Data"?

301
2
3 weeks ago
BRogers92
New Contributor

So, I was in the process of creating an app that could be used to view Parcel data, such as Net Value, Last Sale Price, and Last Year's Taxes. I wanted to use Experience Builder to show a Chart Widget that would update with the Map Extent. This way, a user could pan around the map to see what areas in the state had higher or lower average numbers. I set the Map Message Action to "Framework" and set that to "Filter Data Records". For the Chart Widget, I set that to Histogram and set the Message Action to "Framework" and set that to "Filter Data Records".

When I first did this months ago, I was able to have a Histogram graph that would update as I panned around the map. But with the recent updates, I noticed that "Framework" was changed to "Data" and there is a new "Trigger Data" that says "Chart statistics output view". Ever since, I have not been able to have the Chart Widget update the Histogram to the Map Extent. I have, however, been able to have the chart update with a Column and Bar chart.

Has anyone else experienced this issue?

0 Kudos
2 Replies
ClioClark
Esri Contributor

Hi BRogers,

I have tested this workflow myself, and it seems that for other chart types (e.g. column chart), the chart data will still filter by map extent. However, when using a histogram, the chart data does not filter by map extent.

In the browser network traffic, when you pan the map, a query is sent to return the IDs of the features visible in the map extent. I can see that for the column chart type, this query correctly returns a count of the number of features visible. However, for the histogram chart type, this query returns the total number of features.

I would recommend raising a support case with your local distributor regarding this issue. 

JohnForne
New Contributor

Kia ora Clio and BRogers
Thanks for raising and contributing to this topic. Following your suggestion Clio I've raised this with the local distributor in NZ (Eagle Tech). However, given that it seems like it's more of a enhancement request (rather that a bug fix), I think it might be best for me to raise this here...

Anhow, until recently we've be using R Shiny apps and while I'm familar with GIS I'm new to Experience Builder - but still managed to get tripped up by not being able to filter my histogram by map extent.

First up, in future it'd be good if someone from ESRI set up error messages when issues like this are discovered. It would have saved me lots of time if was clearer that this functionality was not available.

In addition, I need publish dozens of AGOL apps with maps and histograms so it would be really valuable if someone from ESRI could add this function so that it is possible to have histograms that can be filtered by map extent. Is this possible?

Thanks in advance,

John

0 Kudos