Utility class used for drawing markers.
_clearMarkerCache
Defined in
charts/js/Plots.js:373
Removes unused markers from the marker cache
_createGroupMarkers
styles
Defined in
charts/js/Plots.js:293
Draws a series of markers in a single shape instance.
styles
Object
Set of configuration properties used to create the markers.
_createMarker
styles
Defined in
charts/js/Plots.js:250
Creates a shape to be used as a marker.
styles
Object
Hash of style properties.
Shape
_createMarkerCache
Defined in
charts/js/Plots.js:269
Creates a cache of markers for reuse.
_getGroupShape
shape
Defined in
charts/js/Plots.js:142
Returns the correct group shape class.
Function
_getItemColor
val
i
Defined in
charts/js/Plots.js:424
Parses a color from an array.
String
_getPlotDefaults
Defined in
charts/js/Plots.js:159
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
Defined in
charts/js/Plots.js:482
Returns marker state based on event type
type
String
event type
String
_parseMarkerStyles
Object
Defined in
charts/js/Plots.js:456
Combines new styles with existing styles.
Object
Object
containing style properties for the marker.
Object
_setStyles
newStyles
Defined in
charts/js/Plots.js:442
Method used by styles
setter. Overrides base implementation.
newStyles
Object
Hash of properties to update.
Object
_toggleVisible
visible
Defined in
charts/js/Plots.js:346
Toggles visibility
visible
Boolean
indicates visibilitye
getMarker
styles
order
index
Defined in
charts/js/Plots.js:208
Gets and styles a marker. If there is a marker in cache, it will use it. Otherwise it will create one.
Shape
updateMarkerState
type
i
Defined in
charts/js/Plots.js:392
Resizes and positions markers based on a mouse interaction.
_markerCache
Defined in
charts/js/Plots.js:199
Collection of markers to be re-used on a series redraw.
_markers
Defined in
charts/js/Plots.js:190
Collection of markers to be used in the series.