curve: String || Array
In line / area charts, whether to draw smooth lines or straight lines
Available Options
- smooth: connects the points in a curve fashion. Also known as spline
- straight: connect the points in straight lines.
- stepline: points are connected by horizontal and vertical line segments, looking like steps of a staircase.
You can also pass an array in
stroke.curve
, where each index corresponds to the series-index in multi-series charts.
stroke: {
curve: 'smooth',
// OR provide an array
curve: ['smooth', 'straight', 'stepline']
}