Marker Class
The Marker class represents a marker on a graph. It can be used to customize
common marker style and options. Its position can be set through value, point1, point2, xlabelposition and ylabelposition attributes, depending its type.
This class is abstract and markers objects will be of concrete sub classes.
Public Constants
LINE_ORDER_ABOVE
LINE_ORDER_BELOW
LINE_STYLE_DASHED
LINE_STYLE_DOTTED
LINE_STYLE_SOLID
LOCK_BOTTOM
LOCK_BOTTOM_LEFT
LOCK_BOTTOM_RIGHT
LOCK_LEFT
LOCK_NONE
LOCK_RIGHT
LOCK_TOP
LOCK_TOP_LEFT
LOCK_TOP_RIGHT
Public Properties
Detailed Properties Descriptions
label
label
The text to display on the marker. Can contain special sequences for markers. Use \n to add multiple lines of text.
labelcolor
labelcolor
The marker label color.
labelfont
labelfont
The font to use for the label (can add bold,italic,underline,overstrike).
lock
lock
The position to lock the label to. One of LOCK_LEFT or LOCK_RIGHT for horizontal markers, LOCK_TOP or LOCK_BOTTOM for vertical markers and LOCK_TOP_LEFT, LOCk_TOP, LOCK_TOP_RIGHT, LOCK_LEFT, LOCK_RIGHT, LOCK_BOTTOM_LEFT, LOCK_BOTTOM and LOCK_BOTTOM_RIGHT for the text, point and 2point markers. All markers can be locked to the graph and can no longer be moved.
Detailed Constants descriptions
LINE_ORDER_ABOVE
LINE_ORDER_ABOVE
Marker line above data lines
LINE_ORDER_BELOW
LINE_ORDER_BELOW
Marker line below data lines
LINE_STYLE_DASHED
LINE_STYLE_DASHED
Dashed line style
LINE_STYLE_DOTTED
LINE_STYLE_DOTTED
Dotted line style
LINE_STYLE_SOLID
LINE_STYLE_SOLID
Solid line style
LOCK_BOTTOM
LOCK_BOTTOM
Lock position to the bottom
LOCK_BOTTOM_LEFT
LOCK_BOTTOM_LEFT
Lock position to the bottom left corner
LOCK_BOTTOM_RIGHT
LOCK_BOTTOM_RIGHT
Lock position to the bottom right corner
LOCK_LEFT
LOCK_LEFT
Lock position to the left
LOCK_NONE
LOCK_NONE
No locked position
LOCK_RIGHT
LOCK_RIGHT
Lock position to the right
LOCK_TOP
LOCK_TOP
Lock position to the top
LOCK_TOP_LEFT
LOCK_TOP_LEFT
Lock position to the top left corner
LOCK_TOP_RIGHT
LOCK_TOP_RIGHT
Lock position to the top right corner