Chart primitives
Layouts & specialized
Interactions
Data utilities
Umbrella package
@vx/marker
Markers are graphical objects attached to a <marker>
Installation
npm install --save @vx/marker
Components
APIs
#<Marker />
The <marker> contents. Typically one of: <path>
, <line>
, <polyline>
, or <polygon>
Unique id for the <marker>
. Should be unique across all page elements.
The height of the marker viewport
Default 3
Set the coordinate system for the markerWidth, markerHeight, and <marker>
contents
Default userSpaceOnUse
The width of the marker viewport
Default 3
The x coordinate for the reference point of the maker
The y coordinate for the reference point of the maker
A number used to determine the size of the bounding box the marker content.
The stroke width. constrained to a number
type due to use in bounding box calculations