Utility class used for drawing markers.
Plots
_clearMarkerCache
Removes unused markers from the marker cache
_createGroupMarkers
styles
Draws a series of markers in a single shape instance.
styles
Object
Set of configuration properties used to create the markers.
_createMarker
styles
Creates a shape to be used as a marker.
styles
Object
Hash of style properties.
Shape
_createMarkerCache
Creates a cache of markers for reuse.
_getDefaultStyles
Object
_getGroupShape
shape
Returns the correct group shape class.
Function
_getItemColor
val
i
Parses a color from an array.
String
_getPlotDefaults
Gets 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
_getState
type
Returns marker state based on event type
type
String
event type
String
_parseMarkerStyles
Object
Combines new styles with existing styles.
Object
Object
containing style properties for the marker.
Object
_setStyles
newStyles
Method used by styles
setter. Overrides base implementation.
newStyles
Object
Hash of properties to update.
Object
_toggleVisible
visible
Toggles visibility
visible
Boolean
indicates visibilitye
drawPlots
Draws the markers
drawSeries
getMarker
styles
order
index
Gets and styles a marker. If there is a marker in cache, it will use it. Otherwise it will create one.
Shape
_groupShapes
Pre-defined group shapes.