Line

Read trends and compare series over an ordered axis.

Import
@neural-charts/angular/cartesian
Data
line

Live demo

Container width

The chart fits its available space automatically. Choose a width to simulate a different container.

Animation
240ms
Refresh measurementsReplace readings with a new immutable data set and preserve observation IDs.0020204040606080802026-11-01T00:00:00Z2026-11-01…2026-11-01T00:00:02Z2026-11-01…2026-11-01T00:00:04Z2026-11-01…2026-11-01T00:00:06Z2026-11-01…Time (UTC)Time (UTC)Measure

Refresh measurements

Replace readings with a new immutable data set and preserve observation IDs.

Original data
SeriesDate X (UTC)idxyVisible
Measured2026-11-01T00:00:00.000Zm-0179349120000045Yes
Measured2026-11-01T00:00:01.000Zm-1179349120100060Yes
Measured2026-11-01T00:00:02.000Zm-2179349120200069Yes
Measured2026-11-01T00:00:03.000Zm-317934912030000Yes
Measured2026-11-01T00:00:04.000Zm-4179349120400053Yes
Measured2026-11-01T00:00:05.000Zm-51793491205000Missing measurementYes
Measured2026-11-01T00:00:06.000Zm-6179349120600024Yes
Measured2026-11-01T00:00:07.000Zm-7179349120700021Yes

Live readings

Readings added: 0. Keeps up to 24 per series.

Tap a data point or explore it with the pointer or keyboard.

Configurator

Adjust the presentation and interaction of this example.

Chart elements and interaction
Chart toolbar
  1. CSV
  2. PNG
  3. SVG

Interactive examples

Open a chart to explore its data, try its options and copy its code.

When to use it

Use lines for change over time or another ordered dimension. Keep missing observations as gaps so the chart does not invent continuity.

Chart API · Line

Expand a property to learn when to use it, see its public type, and find examples where applicable.

Data

The property data.type for this family is line.

Appearance

Customize presentation while keeping series and point identities stable.

Axes and grid

Data types and domains determine the scale. Use options.axes to change its presentation.

Legend

Tooltip

Customize the tooltip with code →

Interaction and state

Identify the selection and hidden series by ID.

Animation

Complete options and events reference

Explore the data

Select an observation with the pointer or enter the chart with Tab. Arrow keys navigate the data; Home and End move to the endpoints. Enter or Space selects, and Escape closes the detail.

The data table retains original values, including missing values and hidden series. A repeated label does not merge separate categories. Manual screen reader review remains pending.

Accessibility guide

Example data

Copy the current input object with its original identifiers and values.