Class: Stroke

Stroke

Color and properties to draw lines

Constructor

new Stroke(chart)

Parameters:
Name Type Description
chart Tee.Chart The parent chart this stroke object belongs to.
Properties:
Name Type Attributes Default Description
fill Color Defines the color used to fill the stroke lines.
size Number <optional>
1 Defines the size in pixels of the stroke lines.
join String <optional>
"round" Controls how to paint unions between lines. (miter, round, bevel)
cap String <optional>
"square" Controls how to paint ending line points. (square, round, butt)
Source: