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.
Some attributes can be read and changed with get and set :
linecolor: The color of the event lines.linestyle: The style (SOLID, DOTTED, DASHED) for event lines.linewidth: The width (0, 1, 2, 3, 4) of the event lines.position: The position (TOP or BOTTOM) of the labels on the event markers.titlecolor: The color of the label text.titledate: Display (true/false) the event dates.titlefont: The color of the label text.titleorient: The direction (VERTICAL or HORIZONTAL) of the event labels.titleside: The side (LEFT or RIGHT) of the event labels (only useful for vertical labels).
Public Functions
Detailed Functions Descriptions
get
get{ attribute }
Get an attribute of the events configuration. See the list of attributes in the EventsConfig description.
Parameters :
attribute: The attribute name to fetch.
Return : The attribute value.
set
set{ attribute value }
Set an attribute of the events configuration. See the list of attributes in the EventsConfig description.
Parameters :
-
attribute: The attribute name to set. -
value: The value to set to the attribute.