Line
Line elements are used to represent the line in a line chart.
Namespace: options.elements.line
Base Element Settings¶
BackgroundColor¶
Fill color.
BorderWidth¶
Stroke width.
BorderColor¶
Stroke color.
Line Element Settings¶
Tension¶
Bézier curve tension (0 for no Bézier curves).
BorderCapStyle¶
Line cap style. Default 'butt'
.
BorderDash¶
BorderDashOffset¶
BorderJoinStyle¶
Line join style. Default 'miter'
CapBezierPoints¶
true
to keep Bézier control inside the chart, false
for no restriction. Default true
CubicInterpolationMode¶
Interpolation mode to apply. Default 'default'
Fill¶
How to fill the area under the line. Default false
Stepped¶
true
to show the line as a stepped line (tension will be ignored). Default false