Class: Stroke

Stroke

Color and properties to draw lines

new Stroke

Parameters:
Name Type Description
chart Tee.Chart The parent chart this stroke object belongs to.
Properties:
Name Type Description
fill Color Defines the color used to fill the stroke lines.
[size=1] Number Defines the size in pixels of the stroke lines.
[join="round"] String Controls how to paint unions between lines. (miter, round, bevel)
[cap="square"] String Controls how to paint ending line points. (square, round, butt)
Source:
  • ../../src/teechart.js, line 592