@@ -12,6 +12,128 @@ Interact with Charts on a Dashboard
12
12
:depth: 2
13
13
:class: singlecol
14
14
15
+ .. _interactive-filtering:
16
+
17
+ Interactive Filtering
18
+ ---------------------
19
+
20
+ On a dashboard, you can interact with a chart that has
21
+ :guilabel:`Filter or highlight` enabled to filter data
22
+ in other charts.
23
+
24
+ With :guilabel:`Filter or highlight` enabled, clicking a chart element
25
+ with an associated :ref:`dashboard filter <dashboard-filtering>`
26
+ temporarily reconfigures the scope of that dashboard filter to a single
27
+ chart series, category or field value.
28
+
29
+ Interactive filtering is useful for getting quick insights into
30
+ subcategories of your data on dashboards with multiple charts.
31
+ Interactive filtering is temporary; you can revert to your original
32
+ dashboard filter at any time.
33
+
34
+ To enable :guilabel:`Filter or highlight`:
35
+
36
+ 1. Hover over the chart on the dashboard to reveal four buttons in the
37
+ upper right corner of the chart.
38
+ #. Click the second button for :guilabel:`Interactive Filters`.
39
+ #. Select :guilabel:`Filter or highlight` from the dropdown.
40
+
41
+ .. note::
42
+
43
+ By default, charts set :guilabel:`Interactive Filters` to
44
+ :guilabel:`Filter or highlight`.
45
+
46
+ Setting a chart's :guilabel:`Interactive Filters` to
47
+ :guilabel:`Filter` reflects dashboard filters
48
+ and temporary interactive filters. That chart cannot be highlighted
49
+ to set interactive filters on other charts.
50
+
51
+ Setting a chart's :guilabel:`Interactive Filters` to
52
+ :guilabel:`Ignore` ignores any dashboard or interactive filters.
53
+
54
+ .. example::
55
+
56
+ On the |charts| :ref:`Sample Dashboard <sample-dashboard>`, movie
57
+ statistics are displayed across a range of chart types.
58
+
59
+ If you create a dashboard filter for ``rated``, the content rating
60
+ of a movie (e.g. G, PG-13, R), you can click a specific movie rating
61
+ on any one of your charts to temporarily reconfigure the scope of
62
+ your dashboard filter to that specific movie rating.
63
+
64
+ If you click on the PG-13 rating section of the
65
+ :guilabel:`Movie Ratings` donut chart, the rest of the charts on
66
+ your dashboard update to display only data for PG-13 movies. When
67
+ you :ref:`clear the selection <remove-interactive-filter>` of the
68
+ PG-13 rating, your dashboard reverts to displaying charts according
69
+ to the ``rated`` dashboard filter.
70
+
71
+ The chart upon which you set an interactive filter is highlighted,
72
+ *not* filtered. It :ref:`emphasizes <emphasize-series>` the element for
73
+ which your other charts are filtered. You can
74
+ :ref:`clear the selection <remove-interactive-filter>` from that
75
+ highlighted chart.
76
+
77
+ A highlighted chart displays a status icon in the bottom left corner.
78
+
79
+ Filtered charts display the :icon-fa5:`filter` icon.
80
+
81
+ You can apply an interactive filter to all chart types *except*:
82
+
83
+ - :ref:`Number Charts <number-chart-ref>`
84
+ - :ref:`Gauge Charts <gauge-chart-ref>`
85
+ - :ref:`Top Item Charts <top-item-ref>`
86
+ - :ref:`Geospatial Scatter Charts <geospatial-scatter-type>`
87
+ - :ref:`Geospatial Heatmaps <geospatial-heatmap-type>`
88
+
89
+ Filter a Dashboard by a Chart Element
90
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91
+
92
+ To interactively filter a dashboard based on a chart element, you must
93
+ first create a dashboard filter for the field that you want to filter
94
+ by.
95
+
96
+ .. example::
97
+
98
+ To filter the :ref:`Sample Dashboard <sample-dashboard>` to only
99
+ English movies, you must have a dashboard filter on the ``language``
100
+ field.
101
+
102
+ To filter a dashboard by a chart element, you can click on:
103
+
104
+ - a legend entry
105
+ - a chart category, such as an X or Y series label
106
+ - a chart mark, such as a bar segment or line chart node
107
+
108
+ When you hover over a chart element with an associated dashboard
109
+ filter, your cursor displays the :icon-fa4:`hand-pointer-o` icon.
110
+
111
+ If a chart element isn't filterable, your cursor displays the
112
+ :icon-fa4:`mouse-pointer` icon. You might be able to add a dashboard
113
+ filter for that value's field to make that element filterable.
114
+
115
+ .. note::
116
+
117
+ If the dashboard filter card associated with a clicked element is
118
+ disabled, |charts-short| enables it temporarily until you
119
+ :ref:`clear the selection <remove-interactive-filter>` of that
120
+ element.
121
+
122
+ When you filter a dashboard by a chart element, |charts-short| disables
123
+ all other dashboard filters until you clear the selection.
124
+
125
+ .. _remove-interactive-filter:
126
+
127
+ Remove an Interactive Filter
128
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129
+
130
+ You can remove an interactive dashboard filter by:
131
+
132
+ - Clicking the whitespace on the highlighted chart upon which you set
133
+ the interactive filter, or
134
+
135
+ - Changing the associated dashboard filter.
136
+
15
137
.. _emphasize-series:
16
138
17
139
Click to Emphasize Series
@@ -51,7 +173,7 @@ the selected data series from de-emphasized to emphasized.
51
173
:alt: Emphasize multiple data series
52
174
53
175
54
- Emphasize all Data Series
176
+ Emphasize All Data Series
55
177
~~~~~~~~~~~~~~~~~~~~~~~~~
56
178
57
179
To restore the opacity of all data series to the default emphasized
0 commit comments