Class Tee.Stroke
Color and properties to draw lines
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.Stroke(chart)
|
Field Attributes | Field Name and Description |
---|---|
Controls how to paint ending line points.
|
|
Defines the color used to fill the stroke lines.
|
|
Controls how to paint unions between lines.
|
|
Defines the size in pixels of the stroke lines.
|
Method Attributes | Method Name and Description |
---|---|
prepare(fill, c)
|
|
setChart(chart)
|
Class Detail
Tee.Stroke(chart)
- Parameters:
- {Tee.Chart} chart
- The parent chart this stroke object belongs to.
Field Detail
{String}
cap
Controls how to paint ending line points. (square, round, butt)
- Default Value:
- "square"
{Color}
fill
Defines the color used to fill the stroke lines.
{String}
join
Controls how to paint unions between lines. (miter, round, bevel)
- Default Value:
- "round"
{Number}
size
Defines the size in pixels of the stroke lines.
- Default Value:
- 1
Method Detail
prepare(fill, c)
- Parameters:
- fill
- c
setChart(chart)
- Parameters:
- chart