Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Line Charts

Basic line chart

Multiple series

With points and dashes

Set "points": true to show data points, and "dash": [5, 3] for dashed lines:

Dataset options

FieldTypeDescription
colorstringLine color (auto-assigned if omitted)
widthnumberLine width in pixels (default: 2)
dasharrayDash pattern, e.g. [5, 3]
pointsbooleanShow data point markers
fillstringFill color below the line (creates an area effect)