Class Tee.Series.Marks
Extends
Tee.Annotation.
Formatting properties to display annotations near series data points
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.Series.Marks(series, chart)
|
Field Attributes | Field Name and Description |
---|---|
Displays a line from mark to corresponding series point.
|
|
Controls how many marks to skip in between.
|
|
Determines the text to display inside mark.
|
|
Defines if series marks are to be displayed or not.
|
- Fields borrowed from class Tee.Series.Marks#arrow:
- length, underline
- Fields borrowed from class Tee.Annotation:
- format, margins, position, transparent
- Fields borrowed from class Tee.Tool:
- active
Method Attributes | Method Name and Description |
---|---|
canDraw(x, y, index, inverted)
|
|
drawMark(x, y, index, inverted)
|
|
drawPolar(center, radius, angle, index)
|
|
setChart(chart)
|
- Methods borrowed from class Tee.Annotation:
- add, clicked, doDraw, doMouseMove, draw, forceDraw, mousemove, moveTo, resize
- Methods borrowed from class Tee.Tool:
- mousedown, mouseout
Class Detail
Tee.Series.Marks(series, chart)
- Parameters:
- {Tee.Series} series
- The parent series this marks object belongs to.
- {Tee.Chart} chart
- The parent chart this marks object belongs to.
Field Detail
{Tee.Format}
arrow
Displays a line from mark to corresponding series point.
{Number}
drawEvery
Controls how many marks to skip in between. (Useful for large series).
- Default Value:
- 1
{String}
style
Determines the text to display inside mark.
- Default Value:
- "auto"
{Boolean}
visible
Defines if series marks are to be displayed or not.
Method Detail
canDraw(x, y, index, inverted)
- Parameters:
- x
- y
- index
- inverted
drawMark(x, y, index, inverted)
- Parameters:
- x
- y
- index
- inverted
drawPolar(center, radius, angle, index)
- Parameters:
- center
- radius
- angle
- index
setChart(chart)
- Parameters:
- chart