Marker

Draws a marker at the X-position of the mouse cursor.

Attributes

  • markerColor
    • Inner color of the marker elements.
    • Accepted values: color hex code (e.g. #87CEFA ), RGBA code (e.g rgba(135,205,250,1) ) or CSS color name (e.g. $LIGHTSKYBLUE )
    • default: $WHITE
  • markerRadius
    • Radius of rounded corners of the marker.
    • Accepted values: Size as number in pixels, or proportion of chartsize (e.g. 5 or 0.1*$chartWidth). (For a full list of available chart constants, see list of chart constants.)
    • default: 15
  • markerBorderColor
    • Color of marker borders
    • Accepted values: color hex code (e.g. #87CEFA ), RGBA code (e.g rgba(135,205,250,1) ) or CSS color name (e.g. $LIGHTSKYBLUE )
    • default: $BLACK
  • markerLineColor
    • Color of the marker line.
    • Accepted values: color hex code (e.g. #87CEFA ), RGBA code (e.g rgba(135,205,250,1) ) or CSS color name (e.g. $LIGHTSKYBLUE )
    • default: “rgba(255,0,0,1)”
  • markerLineWidth
    • Width of the marker line
    • Accepted values: Size as number in pixels, or proportion of chart size (e.g. 5 or 0.1*$chartWidth). (For a full list of available chart constants, see list of chart constants.)
    • default: 1

Example

<marker>
   <markerColor>$GOLD</markerColor>
   <markerradius>10</markerradius>
   <markerBorderColor>$GOLDENROD</markerBorderColor>
   <markerLineColor>$DARKRED</markerLineColor>
   <markerLineWidth>1</markerLineWidth>
</marker>

All elements not affected by Marker Option have been grayed out.