Class: Marks

.Series. Marks

Formatting properties to display annotations near series data points

Constructor

new Marks(series, chart)

Parameters:
Name Type Description
series Tee.Series The parent series this marks object belongs to.
chart Tee.Chart The parent chart this marks object belongs to.
Properties:
Name Type Attributes Default Description
arrow Tee.Format Displays a line from mark to corresponding series point.
Properties
Name Type Attributes Default Description
length Number <optional>
10 Distance in pixels from mark to corresponding series point.
underline Boolean <optional>
false Draws a line under mark text.
style String <optional>
"auto" Determines the text to display inside mark.
visible Boolean Defines if series marks are to be displayed or not.
drawEvery Number <optional>
1 Controls how many marks to skip in between. (Useful for large series).
Source:

Extends

Members

position

Properties:
Name Type Description
position Tee.Point Top-left coordinates of annotation rectangle. `* @default x:10, y:10
Inherited From:
Source:

Methods

clicked() → {Boolean}

Inherited From:
Source:
Returns:
Returns if Tee.Point p is inside this Annotation bounds.
Type
Boolean