@@ -13,7 +13,8 @@ Filters can be created in two ways:
1313Create a filter to see which companies are based in a city, with the default set to London.
1414
1515.Example: Filter to see which companies are based in a city with the default showing London
16- image::dashboards/parameters-and-filters/filter-by-customer-city.png[]
16+ [.shadow]
17+ image::dashboards/parameters-and-filters/filterexample.png[]
1718
1819=== Step 1: Define the filter
1920
@@ -22,6 +23,8 @@ image::dashboards/parameters-and-filters/filter-by-customer-city.png[]
2223. Select the label `Customer`.
2324. Select the property `City`.
2425
26+ In the right pane, you can see a preview of how your filter will look and also interact with it.
27+
2528=== Step 2: Link the parameter
2629
2730. A parameter named `$customer_city` is created automatically.
@@ -37,15 +40,17 @@ Paste the following query into the Cypher input, then select *Save*:
3740----
3841MATCH (n:Customer)
3942WHERE n.city = $customer_city
40- RETURN n.companyName
43+ RETURN n.companyName AS `Company name`
4144----
4245
4346.Cypher query for a table which displays customers within a city
47+ [.shadow]
4448image::dashboards/parameters-and-filters/london-cypher-query-example.png[]
4549
4650Changing the city in the filter updates the table dynamically.
4751
4852.Filter and table showing customers located at the selected city
53+ [.shadow]
4954image::dashboards/parameters-and-filters/customers-located-at-selected-city.png[]
5055
5156
@@ -84,6 +89,7 @@ LIMIT 10
8489----
8590
8691.Using a parameter in a query to display products with a certain number of units in stock
92+ [.shadow]
8793image::dashboards/parameters-and-filters/inquery.png[]
8894
8995
@@ -106,4 +112,5 @@ The parameter and filter are now connected.
106112Selecting a value from the dropdown updates the parameter `$unit_param` and updates the table.
107113
108114.Selecting a new value for the unitsInStock filter
115+ [.shadow]
109116image::dashboards/parameters-and-filters/filter-and-card.gif[]
0 commit comments