Skip to content

Commit f1fa61f

Browse files
Merge branch 'console' into aura-agent
2 parents 2145e8a + d819989 commit f1fa61f

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed
-1.31 KB
Loading
358 KB
Loading
42.7 KB
Loading
392 KB
Loading

modules/ROOT/pages/dashboards/parameters-and-filters.adoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Filters can be created in two ways:
1313
Create 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
----
3841
MATCH (n:Customer)
3942
WHERE 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]
4448
image::dashboards/parameters-and-filters/london-cypher-query-example.png[]
4549

4650
Changing the city in the filter updates the table dynamically.
4751

4852
.Filter and table showing customers located at the selected city
53+
[.shadow]
4954
image::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]
8793
image::dashboards/parameters-and-filters/inquery.png[]
8894

8995

@@ -106,4 +112,5 @@ The parameter and filter are now connected.
106112
Selecting 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]
109116
image::dashboards/parameters-and-filters/filter-and-card.gif[]

0 commit comments

Comments
 (0)