You can interact with a chart to explore your data and get more information.
Selection is dynamic between charts, maps, and attribute tables. Selecting one or more features in your chart will select the same features in your map and table. Similarly, a selection in your map or table will also be reflected in your chart. To make a selection in your chart, do the following:
- Click and drag to create a rectangle around the features of interest. You can also click to select an individual object in the chart.
- To clear a selection from a chart, click a blank area of the chart, or click Map > Selection > Clear on the ribbon.
Interactive selection allows you to explore features of interest and can also be used as a filtering mechanism. For example, you might use selection to highlight features of interest and run a geoprocessing tool on the selection set. You could also choose to export the selected features as a new layer or table.
Charts, like maps and tables, do not display any features out of the current range or query applied to the source layer. You can visually filter charts using the range slider, time slider, definition queries, or any combination of the three.
In the following example, a range slider was used to filter crimes in Washington D.C. based on ward number. As the ward number changes, the map and chart both update to show only crimes that took place in the specified ward.
- Learn more about using the range slider
- Learn more about using the time slider
- Learn more applying definition queries
Data on a chart can also be filtered according to a map's extent and selection set.
When Filter by Extent is enabled, the chart only draws based on features in the current visible geographic extent of the map. As you pan and zoom the map to different spatial extents, the chart redraws to reflect the new extent.
Filter by Extent is only available in 2D map views.
When Filter by Selection is enabled, the chart only draws features that are currently selected. The selection can be made in the map, the attribute table, or another chart created from the same layer.
Filter by Selection can be used as a way to zoom in to a chart. To do this, create two identical charts and set one of them to filter by selection. Then, when you make a selection in the unfiltered chart, the filtered chart will zoom to only that area that has been selected.
Hover over any data object in your chart to reveal more detailed information in a ToolTip. ToolTips display the variables and values for the associated feature. This allows you to quickly interrogate the chart for exact values.
Some charts include a legend to distinguish between series or to display statistical information. You can click an item in the legend to turn it on and off in the chart.
Legend items for bar and line charts can be re-ordered, re-labeled, and deleted in the Chart Properties pane on the Data tab.
If a legend is not necessary for your chart, the entire legend can be hidden by toggling the Legend button in the chart window.