Select to view content in your preferred language

Filter all map layers based on area selection in bar chart

576
1
02-10-2021 08:36 AM
Status: Already Offered
JulianaSpector1
Occasional Contributor

In a dashboard with separate panels for a map and bar chart, filter all layers on map when data grouped by area is selected on the bar chart. The bar chart only represents data from one layer on the map, but when grouped area label is selected, we would like all layers on map to be filtered to only show data relevant to that area. Currently when selecting the grouped area label on the bar chart, we can only filter the map layer that has data represented in the bar chart.

1 Comment
patrickb
Status changed to: Already Offered

A serial chart can be configured such that selecting it's bars will filter any/all layers in a map. This filtering can happen via common attribute or spatially. In the spatial filter scenario, the minimum bounding rectangle surrounding all the features that were aggregated to produce a bar on the chart gets used. 

Note: Not all implementations/versions of feature layers support the ability to return the minimum bounding rectangle during aggregation queries. In that case, it's a limit of the feature layer that prevents the functionality being available in Dashboards, not Dashboards per se.