Line chart

You can use a line chart to draw one or more lines in a two-dimensional plane. It has two numeric fields:

  • Dimension: The values used as the x-axis.

  • Value: The values used on the y-axis.

Select a horizontal segment of the line chart to zoom in. Use the reload button to reset the line chart zoom.

Examples

Basic line chart

Cypher query for a line chart which displays the number of product categories by order dates
MATCH (o:Order)-[:ORDERS]->(p:Product)
RETURN datetime(replace(o.orderDate, " ", "T")) AS Date,
       count(p) as Categories
LIMIT 20
visualization line chart
Figure 1. A line chart displaying the number of product categories by order dates

Multi-line chart

Cypher query for a line chart which displays the number of product categories and the product count by order dates
MATCH (o:Order)-[or:ORDERS]->(p:Product)
RETURN datetime(replace(o.orderDate, " ", "T")) AS Date,
       count(p) as Categories,
       sum(or.quantity) as Quantity
LIMIT 20
visualization line chart multi
Figure 2. A line chart displaying the number of product categories and the product count by order dates

Configuration

Select your Dimension for the x-axis and one or multiple Values for the y-axis.