Reports

A report is the smallest building build of your dashboard. Each report will have a single Cypher query behind it that is used to populate the report. Reports can be of several types (graph, table, bar chart, etc.), each of which expect different types of data. See the relevant documentation pages for more information.

A report can be given a title, which will be displayed in the dashboard header. To change the query of a report, open the settings by clicking the (⋮) icon on the top right of the report.

Report

The settings window additionally allows you to change the type of report, the refresh rate of the report, and a number of Advanced Settings. The advanced settings differ between the different report types, and can be viewed by toggling the switch on the bottom left of the settings page.

Create and Delete Reports

A new report can be added to a page by clicking the large (+) button at the end of the page. By default, a report will have nothing defined, so you will need to set the query before any data is visualized.

Reports can be deleted by opening the report settings, and clicking the 🗑️ icon in the report header.

Re-order Reports

As of NeoDash 2.1, reports can be re-ordered by dragging and dropping them around the page. To move a report, grab it by the handle (top left corner), and drag it to the desired location.

Report

Resize Reports

As of NeoDash 2.1, reports can be resized by grabbing their bottom-right corner, and dragging your mouse to the desired size.

Report

Writing Queries

A single Cypher query is used to populate each report. As any Cypher syntax is supported, this includes APOC, GDS, and even Fabric!

Keep the following best practises in mind when writing your Cypher queries:

  1. Always use a LIMIT in your query to keep the result size manageable.

  2. Ensure you return the right data types for the right report type. For example, a graph report expects nodes and relationships, whereas a line chart expects numbers.

Row Limiting

NeoDash has a built-in post-query row limiter. This means that results are truncated to a maximum number of rows, depending on the report type. The row limiter is in place to ensure that visualizations do not become too complex for the browser to handle.

Note that even though the row limiter is enabled by default, rows are only limited after the query is executed. For this reason, it is recommended to use the LIMIT clause in your query at all times.

Rule-Based Styling

On several report types, rule-based styling can be applied to the visualization. To do this, open up the report settings, Then, click the Rule-Based Styling button on the bottom right (marked with the red circle):

Report

This will open up the rule definition window. Inside this screen, a list of rules can be defined. Each rule will have the following structure:

IF [CONDITION] THEN [STYLE]

Report

Conditions are always based on one of the return fields of the query. This can be a simple field (text, number) or a node property. Style rules are (as of NeoDash 2.1) always color-based.

For example, the following rule will set the color of all Warning nodes to red:

IF Warning.level = "critical" THEN 'Node Color' = "red"

Ultimately, it is important to understand that the order of the rules is important. If a node matches multiple rules, the first rule that matches will be used. If no rules are matched, the default style will be used.

Report Types

To learn more about a specific report type, see one of the following pages: