Utility class used for drawing markers.
Plots_clearMarkerCacheRemoves unused markers from the marker cache
_createGroupMarkersstyles
Draws a series of markers in a single shape instance.
styles
Object
Set of configuration properties used to create the markers.
_createMarkerstyles
Creates a shape to be used as a marker.
styles
Object
Hash of style properties.
Shape
_createMarkerCacheCreates a cache of markers for reuse.
_getDefaultStylesObject
_getGroupShapeshape
Returns the correct group shape class.
Function
_getItemColorval
i
Parses a color from an array.
String
_getPlotDefaultsGets the default values for series that use the utility. This method is used by
the class' styles attribute's getter to get build default values.
Object
_getStatetype
Returns marker state based on event type
type
String
event type
String
_parseMarkerStylesObject
Combines new styles with existing styles.
Object
Object
containing style properties for the marker.
Object
_setStylesnewStyles
Method used by styles setter. Overrides base implementation.
newStyles
Object
Hash of properties to update.
Object
_toggleVisiblevisible
Toggles visibility
visible
Boolean
indicates visibilitye
drawPlotsDraws the markers
drawSeriesgetMarkerstyles
order
index
Gets and styles a marker. If there is a marker in cache, it will use it. Otherwise it will create one.
Shape
_groupShapesPre-defined group shapes.