Chart Line

Add and configure the Chart Line component in a Docmino document.

When to use

Use Chart Line to show how one or more values change across an ordered sequence, usually time.

Props

Name⇅
Type⇅
Description⇅
id
string
A stable identifier used to reference the component.
label
string
The reader-facing label for the component.
dataId
string
The ID or label of the Data component providing the dataset.
visibleWhen
expression
A condition that controls when the component is visible.

Example

Chart.Line

Visitors
day⇅
visitors⇅
Mon
200
Tue
450
Wed
300
Select a Data component to power this chart
<Data label="Visitors" source={{ type: "data", data: [ { day: "Mon", visitors: 200 }, { day: "Tue", visitors: 450 }, { day: "Wed", visitors: 300 }, ], }} /> <Chart.Line dataId="Visitors" />