Single Value

This documentation pertains to the unsupported version of NeoDash, as part of Neo4j Labs. For users of the supported NeoDash offering, refer to NeoDash commercial.

A single value report will render the first column of the first row returned by the Cypher query. Single value reports are typically used for key metrics:

  • The total number of nodes

  • The total number of data integrity violations

  • The name of a node or relationship that is standing out in the data.

Examples

Number value

MATCH (n)
RETURN COUNT(n)
Basic Value

Text value with custom styling

// Who's the biggest Fraudster?
MATCH (n:Person)-[:CREATED]->(t:Transaction{fraud:true})
RETURN n.name, COUNT(t)
ORDER BY COUNT(t) DESC
Styled Value

Advanced Settings

Name Type Default Value Description

Font Size

Number

64

The font size of the value text.

Color

Text

rgba(0, 0, 0, 0.87)

The HTML color value of the text.

Background Color

Text

white

The HTML color value of the background of the report.

Horizontal Align

List

left

The horizontal alignment of the text.

Vertical Align

List

top

The vertical alignment of the text.

Auto-run query

on/off

on

when activated automatically runs the query when the report is displayed. When set to `off', the query is displayed and will need to be executed manually.

Report Description

markdown text

When specified, adds another button the report header that opens a pop-up. This pop-up contains the rendered markdown from this setting.

Rule-Based Styling

Using the Rule-Based Styling menu, the following style rules can be applied to the map:

  • The color of the text.