A variation around the Line component. Well suited
for large data sets as it does not impact DOM tree depth, however
you'll lose the isomorphic ability and transitions.
The responsive alternative of this component is
ResponsiveLineCanvas.
1331 nodes
Actions Logs
Start interacting with the chart to log actions
Base
object[]required
Chart data.
objectoptional
X scale configuration.
Function | stringoptional
open editor
Optional formatter for x values.
objectoptional
Y scale configuration.
Function | stringoptional
open editor
Optional formatter for y values.
numberrequired
Chart width, not required when using responsive variant.
numberrequired
Chart height, not required when using responsive variant.
objectoptional
px
px
px
px
Chart margin.
Style
stringoptionaldefault:'linear'
monotoneX
Curve interpolation.
optional
Define style for common elements such as labels, axes…
string | Function | string[]optionaldefault:{"scheme":"nivo"}