EventsConfig Class
The EventsConfig class represents a set of events displayed on a graph. It lets you configure the display style and options of this event set.
Public Constants
LINE_STYLE_DASHED
LINE_STYLE_DOTTED
LINE_STYLE_SOLID
ORIENT_HORIZONTAL
ORIENT_VERTICAL
POSITION_BOTTOM
POSITION_TOP
SIDE_LEFT
SIDE_RIGHT
Public Properties
linecolor
linestyle
linewidth
position
titlecolor
titledate
titlefont
titleorient
titleside
Detailed Properties Descriptions
linecolor
linecolor
The color of the event lines.
linestyle
linestyle
The style (LINE_STYLE_SOLID, LINE_STYLE_DOTTED, LINE_STYLE_DASHED) for event lines.
linewidth
linewidth
The width (0, 1, 2, 3, 4) of the event lines.
position
position
The position (POSITION_TOP or POSITION_BOTTOM) of the labels on the event markers.
titlecolor
titlecolor
The color of the label text.
titledate
titledate
Display (true/false) the event dates.
titlefont
titlefont
The font to use for the event labels.
titleorient
titleorient
The direction (ORIENT_VERTICAL or ORIENT_HORIZONTAL) of the event labels.
titleside
titleside
The side (SIDE_LEFT or SIDE_RIGHT) of the event labels (only useful for vertical labels).
Detailed Constants descriptions
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
ORIENT_HORIZONTAL
ORIENT_HORIZONTAL
The events label orientation horizontal
ORIENT_VERTICAL
ORIENT_VERTICAL
The events label orientation vertical
POSITION_BOTTOM
POSITION_BOTTOM
Axis in decreasing direction
POSITION_TOP
POSITION_TOP
Axis in increasing direction
SIDE_LEFT
SIDE_LEFT
The events label orientation vertical
SIDE_RIGHT
SIDE_RIGHT
The events label orientation horizontal