Docs
⚙️ ⏐ Utils
Axis

Axis

In REAVIZ, an axis is a fundamental component of a chart, providing a reference framework for plotting data points. Axes help in organizing and displaying data in a clear and structured manner, allowing for easy interpretation and analysis.

Types supported by reaviz:

  • Linear Axis - A linear axis is used in most charts to represent data along horizontal (x-axis) and vertical (y-axis) lines.
  • Radial Axis - A radial axis is used in radial charts to represent data in a circular format.

Where to use:

  • Linear Axes: Use linear axes for charts that require data to be displayed along straight lines, such as line charts, bar charts, and scatter plots.
  • Radial Axes: Use radial axes for charts that display data in a circular layout, such as radial bar charts and radial area charts.

Examples

Linear

Advanced Label Positioning

Radial

API

LinearAxis (opens in a new tab)

PropDescriptionDefault
height
number
width
number
domain
ChartDataTypes[]
scaled
boolean
false
roundDomains
boolean
false
type
"value" | "time" | "category" | "duration"
position
"start" | "end" | "center"
tickSeries
ReactElement<LinearAxisTickSeriesProps, FC<Partial<LinearAxisTickSeriesProps>>>
axisLine
ReactElement<LinearAxisLineProps, FC<Partial<LinearAxisLineProps>>>
<LinearAxisLine />
scale
any
visibility
"visible" | "hidden"
orientation
"horizontal" | "vertical"
onDimensionsChange
(event: LinearAxisDimensionChanged) => void
() => undefined

LinearAxisLine (opens in a new tab)

PropDescriptionDefault
height
number
width
number
strokeColor
string
#8F979F
strokeWidth
number
1
strokeGradient
ReactElement<GradientProps, FC<Partial<GradientProps>>>
scale
any
orientation
"horizontal" | "vertical"
className
string

LinearAxisTickLabel (opens in a new tab)

PropDescriptionDefault
text
string
fullText
string
angle
number
orientation
"horizontal" | "vertical"
half
"start" | "end" | "center"
line
ReactElement<LinearAxisTickLineProps, FC<Partial<LinearAxisTickLineProps>>>
format
(v: any) => any
formatTooltipFormat tooltip title on hover label.
(value: any) => any
fill
string
#8F979F
fontSize
number
11
fontFamily
string
sans-serif
rotation
number | boolean
true
padding
number | { fromAxis: number; alongAxis: number; }
5
textAnchor
"start" | "end" | "middle"
position
"start" | "end" | "center"
align
"start" | "end" | "center" | "inside" | "outside"
center
className
string

LinearAxisTickLine (opens in a new tab)

PropDescriptionDefault
height
number
width
number
orientation
"horizontal" | "vertical"
size
number
5
strokeColor
string
#8F979F
strokeWidth
number
1
position
"start" | "end" | "center"
className
string

LinearAxisTickSeries (opens in a new tab)

PropDescriptionDefault
height
number
width
number
scale
any
interval
number | TimeInterval
tickSize
number
30
tickValues
any[]
orientation
"horizontal" | "vertical"
label
ReactElement<LinearAxisTickLabelProps, FC<Partial<LinearAxisTickLabelProps>>>
( <LinearAxisTickLabel line={ <LinearAxisTickLine orientation="horizontal" position="center" height={5} width={5} /> } text="" fullText="" angle={0} orientation="horizontal" half="start" position="center" /> )
line
ReactElement<LinearAxisTickLineProps, FC<Partial<LinearAxisTickLineProps>>>
( <LinearAxisTickLine height={10} width={10} orientation="horizontal" position="center" /> )
axis
LinearAxisProps

RadialAxis (opens in a new tab)

PropDescriptionDefault
heightHeight of the axis.
number
widthWidth of the axis.
number
xScaleScale to use for the axis.
any
innerRadiusInner radius of the axis.
number
10
typeType of the axis.
"value" | "time" | "category"
value
arcsArc element to render.
ReactElement<RadialAxisArcSeriesProps, FC<Partial<RadialAxisArcSeriesProps>>>
<RadialAxisArcSeries />
ticksTick element to render.
ReactElement<RadialAxisTickSeriesProps, FC<Partial<RadialAxisTickSeriesProps>>>
<RadialAxisTickSeries />
startAngleStart angle for the first value.
number
0
endAngleEnd angle for the last value.
number
2 * Math.PI

RadialAxisTick (opens in a new tab)

PropDescriptionDefault
scaleScale to use for the tick.
any
outerRadiusOuter radius of the arc.
number
0
innerRadiusInner radius of the arc.
number
paddingPadding between the tick and the label.
number
0
dataData to render.
any
indexIndex of the tick.
number
lineLine element to render.
ReactElement<RadialAxisTickLineProps, FC<Partial<RadialAxisTickLineProps>>>
<RadialAxisTickLine />
labelLabel element to render.
ReactElement<RadialAxisTickLabelProps, FC<Partial<RadialAxisTickLabelProps>>>
<RadialAxisTickLabel />
startAngleStart angle for the first value.
number
0
endAngleEnd angle for the last value.
number
2 * Math.PI

RadialAxisTickLabel (opens in a new tab)

PropDescriptionDefault
dataData to render.
any
lineSizeSize of the line.
number
fillColor of the text.
string
#71808d
fontSizeFont size of the text.
number
11
rotationRotation of the text.
number
fontFamilyFont family of the text.
string
sans-serif
indexIndex of the tick.
number
paddingPadding of the tick.
number
15
pointPoint of the tick.
any
autoRotateAuto rotate the text.
boolean
true
formatFormat of the label.
(value: any, index: number) => any
formatTooltipFormat tooltip title on hover label.
(value: any, index: number) => any
string
string | number
suppressHydrationWarning
boolean
className
string
color
string
height
string | number
id
string
lang
string
max
string | number
media
string
method
string
min
string | number
name
string
style
CSSProperties
target
string
type
string
width
string | number
role
AriaRole
tabIndex
number
crossOrigin
CrossOrigin
accentHeight
string | number
accumulate
"none" | "sum"
additive
"sum" | "replace"
alignmentBaseline
"alphabetic" | "hanging" | "ideographic" | "mathematical" | "auto" | "baseline" | "before-edge" | "text-before-edge" | "middle" | "central" | "after-edge" | "text-after-edge" | "inherit"
allowReorder
"no" | "yes"
alphabetic
string | number
amplitude
string | number
arabicForm
"initial" | "medial" | "terminal" | "isolated"
ascent
string | number
attributeName
string
attributeType
string
autoReverse
Booleanish
azimuth
string | number
baseFrequency
string | number
baselineShift
string | number
baseProfile
string | number
bbox
string | number
begin
string | number
bias
string | number
by
string | number
calcMode
string | number
capHeight
string | number
clip
string | number
clipPath
string
clipPathUnits
string | number
clipRule
string | number
colorInterpolation
string | number
colorInterpolationFilters
"auto" | "inherit" | "sRGB" | "linearRGB"
colorProfile
string | number
colorRendering
string | number
contentScriptType
string | number
contentStyleType
string | number
cursor
string | number
cx
string | number
cy
string | number
d
string
decelerate
string | number
descent
string | number
diffuseConstant
string | number
direction
string | number
display
string | number
divisor
string | number
dominantBaseline
string | number
dur
string | number
dx
string | number
dy
string | number
edgeMode
string | number
elevation
string | number
enableBackground
string | number
end
string | number
exponent
string | number
externalResourcesRequired
Booleanish
fillOpacity
string | number
fillRule
"inherit" | "nonzero" | "evenodd"
filter
string
filterRes
string | number
filterUnits
string | number
floodColor
string | number
floodOpacity
string | number
focusable
"auto" | Booleanish
fontSizeAdjust
string | number
fontStretch
string | number
fontStyle
string | number
fontVariant
string | number
fontWeight
string | number
fr
string | number
from
string | number
fx
string | number
fy
string | number
g1
string | number
g2
string | number
glyphName
string | number
glyphOrientationHorizontal
string | number
glyphOrientationVertical
string | number
glyphRef
string | number
gradientTransform
string
gradientUnits
string
hanging
string | number
horizAdvX
string | number
horizOriginX
string | number
href
string
ideographic
string | number
imageRendering
string | number
in2
string | number
in
string
intercept
string | number
k1
string | number
k2
string | number
k3
string | number
k4
string | number
k
string | number
kernelMatrix
string | number
kernelUnitLength
string | number
kerning
string | number
keyPoints
string | number
keySplines
string | number
keyTimes
string | number
lengthAdjust
string | number
letterSpacing
string | number
lightingColor
string | number
limitingConeAngle
string | number
local
string | number
markerEnd
string
markerHeight
string | number
markerMid
string
markerStart
string
markerUnits
string | number
markerWidth
string | number
mask
string
maskContentUnits
string | number
maskUnits
string | number
mathematical
string | number
mode
string | number
numOctaves
string | number
offset
string | number
opacity
string | number
operator
string | number
order
string | number
orient
string | number
orientation
string | number
origin
string | number
overflow
string | number
overlinePosition
string | number
overlineThickness
string | number
paintOrder
string | number
panose1
string | number
path
string
pathLength
string | number
patternContentUnits
string
patternTransform
string | number
patternUnits
string
pointerEvents
string | number
points
string
pointsAtX
string | number
pointsAtY
string | number
pointsAtZ
string | number
preserveAlpha
Booleanish
preserveAspectRatio
string
primitiveUnits
string | number
r
string | number
radius
string | number
refX
string | number
refY
string | number
renderingIntent
string | number
repeatCount
string | number
repeatDur
string | number
requiredExtensions
string | number
requiredFeatures
string | number
restart
string | number
result
string
rotate
string | number
rx
string | number
ry
string | number
scale
string | number
seed
string | number
shapeRendering
string | number
slope
string | number
spacing
string | number
specularConstant
string | number
specularExponent
string | number
speed
string | number
spreadMethod
string
startOffset
string | number
stdDeviation
string | number
stemh
string | number
stemv
string | number
stitchTiles
string | number
stopColor
string
stopOpacity
string | number
strikethroughPosition
string | number
strikethroughThickness
string | number
stroke
string
strokeDasharray
string | number
strokeDashoffset
string | number
strokeLinecap
"inherit" | "butt" | "round" | "square"
strokeLinejoin
"inherit" | "round" | "miter" | "bevel"
strokeMiterlimit
string | number
strokeOpacity
string | number
strokeWidth
string | number
surfaceScale
string | number
systemLanguage
string | number
tableValues
string | number
targetX
string | number
targetY
string | number
textAnchor
string
textDecoration
string | number
textLength
string | number
textRendering
string | number
to
string | number
transform
string
u1
string | number
u2
string | number
underlinePosition
string | number
underlineThickness
string | number
unicode
string | number
unicodeBidi
string | number
unicodeRange
string | number
unitsPerEm
string | number
vAlphabetic
string | number
values
string
vectorEffect
string | number
version
string
vertAdvY
string | number
vertOriginX
string | number
vertOriginY
string | number
vHanging
string | number
vIdeographic
string | number
viewBox
string
viewTarget
string | number
visibility
string | number
vMathematical
string | number
widths
string | number
wordSpacing
string | number
writingMode
string | number
x1
string | number
x2
string | number
x
string | number
xChannelSelector
string
xHeight
string | number
xlinkActuate
string
xlinkArcrole
string
xlinkHref
string
xlinkRole
string
xlinkShow
string
xlinkTitle
string
xlinkType
string
xmlBase
string
xmlLang
string
xmlns
string
xmlnsXlink
string
xmlSpace
string
y1
string | number
y2
string | number
y
string | number
yChannelSelector
string
z
string | number
zoomAndPan
string
aria-activedescendantIdentifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
string
aria-atomicIndicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
Booleanish
aria-autocompleteIndicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
"list" | "none" | "inline" | "both"
aria-braillelabelDefines a string value that labels the current element, which is intended to be converted into Braille. @see aria-label.
string
aria-brailleroledescriptionDefines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. @see aria-roledescription.
string
aria-busy
Booleanish
aria-checkedIndicates the current "checked" state of checkboxes, radio buttons, and other widgets. @see aria-pressed @see aria-selected.
boolean | "true" | "false" | "mixed"
aria-colcountDefines the total number of columns in a table, grid, or treegrid. @see aria-colindex.
number
aria-colindexDefines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. @see aria-colcount @see aria-colspan.
number
aria-colindextextDefines a human readable text alternative of aria-colindex. @see aria-rowindextext.
string
aria-colspanDefines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. @see aria-colindex @see aria-rowspan.
number
aria-controlsIdentifies the element (or elements) whose contents or presence are controlled by the current element. @see aria-owns.
string
aria-currentIndicates the element that represents the current item within a container or set of related elements.
boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"
aria-describedbyIdentifies the element (or elements) that describes the object. @see aria-labelledby
string
aria-descriptionDefines a string value that describes or annotates the current element. @see related aria-describedby.
string
aria-detailsIdentifies the element that provides a detailed, extended description for the object. @see aria-describedby.
string
aria-disabledIndicates that the element is perceivable but disabled, so it is not editable or otherwise operable. @see aria-hidden @see aria-readonly.
Booleanish
aria-dropeffectIndicates what functions can be performed when a dragged object is released on the drop target. @deprecated in ARIA 1.1
"link" | "none" | "copy" | "execute" | "move" | "popup"
aria-errormessageIdentifies the element that provides an error message for the object. @see aria-invalid @see aria-describedby.
string
aria-expandedIndicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Booleanish
aria-flowtoIdentifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
string
aria-grabbedIndicates an element's "grabbed" state in a drag-and-drop operation. @deprecated in ARIA 1.1
Booleanish
aria-haspopupIndicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
boolean | "dialog" | "grid" | "listbox" | "menu" | "tree" | "true" | "false"
aria-hiddenIndicates whether the element is exposed to an accessibility API. @see aria-disabled.
Booleanish
aria-invalidIndicates the entered value does not conform to the format expected by the application. @see aria-errormessage.
boolean | "true" | "false" | "grammar" | "spelling"
aria-keyshortcutsIndicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
string
aria-labelDefines a string value that labels the current element. @see aria-labelledby.
string
aria-labelledbyIdentifies the element (or elements) that labels the current element. @see aria-describedby.
string
aria-levelDefines the hierarchical level of an element within a structure.
number
aria-liveIndicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
"off" | "assertive" | "polite"
aria-modalIndicates whether an element is modal when displayed.
Booleanish
aria-multilineIndicates whether a text box accepts multiple lines of input or only a single line.
Booleanish
aria-multiselectableIndicates that the user may select more than one item from the current selectable descendants.
Booleanish
aria-orientationIndicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
"horizontal" | "vertical"
aria-ownsIdentifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. @see aria-controls.
string
aria-placeholderDefines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
string
aria-posinsetDefines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. @see aria-setsize.
number
aria-pressedIndicates the current "pressed" state of toggle buttons. @see aria-checked @see aria-selected.
boolean | "true" | "false" | "mixed"
aria-readonlyIndicates that the element is not editable, but is otherwise operable. @see aria-disabled.
Booleanish
aria-relevantIndicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. @see aria-atomic.
"additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals"
aria-requiredIndicates that user input is required on the element before a form may be submitted.
Booleanish
aria-roledescriptionDefines a human-readable, author-localized description for the role of an element.
string
aria-rowcountDefines the total number of rows in a table, grid, or treegrid. @see aria-rowindex.
number
aria-rowindexDefines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. @see aria-rowcount @see aria-rowspan.
number
aria-rowindextextDefines a human readable text alternative of aria-rowindex. @see aria-colindextext.
string
aria-rowspanDefines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. @see aria-rowindex @see aria-colspan.
number
aria-selectedIndicates the current "selected" state of various widgets. @see aria-checked @see aria-pressed.
Booleanish
aria-setsizeDefines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. @see aria-posinset.
number
aria-sortIndicates if items in a table or grid are sorted in ascending or descending order.
"none" | "ascending" | "descending" | "other"
aria-valuemaxDefines the maximum allowed value for a range widget.
number
aria-valueminDefines the minimum allowed value for a range widget.
number
aria-valuenowDefines the current value for a range widget. @see aria-valuetext.
number
aria-valuetextDefines the human readable text alternative of aria-valuenow for a range widget.
string
dangerouslySetInnerHTML
{ __html: string | TrustedHTML; }
onCopy
ClipboardEventHandler<SVGTextElement>
onCopyCapture
ClipboardEventHandler<SVGTextElement>
onCut
ClipboardEventHandler<SVGTextElement>
onCutCapture
ClipboardEventHandler<SVGTextElement>
onPaste
ClipboardEventHandler<SVGTextElement>
onPasteCapture
ClipboardEventHandler<SVGTextElement>
onCompositionEnd
CompositionEventHandler<SVGTextElement>
onCompositionEndCapture
CompositionEventHandler<SVGTextElement>
onCompositionStart
CompositionEventHandler<SVGTextElement>
onCompositionStartCapture
CompositionEventHandler<SVGTextElement>
onCompositionUpdate
CompositionEventHandler<SVGTextElement>
onCompositionUpdateCapture
CompositionEventHandler<SVGTextElement>
onFocus
FocusEventHandler<SVGTextElement>
onFocusCapture
FocusEventHandler<SVGTextElement>
onBlur
FocusEventHandler<SVGTextElement>
onBlurCapture
FocusEventHandler<SVGTextElement>
onChange
FormEventHandler<SVGTextElement>
onChangeCapture
FormEventHandler<SVGTextElement>
onBeforeInput
FormEventHandler<SVGTextElement>
onBeforeInputCapture
FormEventHandler<SVGTextElement>
onInput
FormEventHandler<SVGTextElement>
onInputCapture
FormEventHandler<SVGTextElement>
onReset
FormEventHandler<SVGTextElement>
onResetCapture
FormEventHandler<SVGTextElement>
onSubmit
FormEventHandler<SVGTextElement>
onSubmitCapture
FormEventHandler<SVGTextElement>
onInvalid
FormEventHandler<SVGTextElement>
onInvalidCapture
FormEventHandler<SVGTextElement>
onLoad
ReactEventHandler<SVGTextElement>
onLoadCapture
ReactEventHandler<SVGTextElement>
onError
ReactEventHandler<SVGTextElement>
onErrorCapture
ReactEventHandler<SVGTextElement>
onKeyDown
KeyboardEventHandler<SVGTextElement>
onKeyDownCapture
KeyboardEventHandler<SVGTextElement>
onKeyPress@deprecated
KeyboardEventHandler<SVGTextElement>
onKeyPressCapture@deprecated
KeyboardEventHandler<SVGTextElement>
onKeyUp
KeyboardEventHandler<SVGTextElement>
onKeyUpCapture
KeyboardEventHandler<SVGTextElement>
onAbort
ReactEventHandler<SVGTextElement>
onAbortCapture
ReactEventHandler<SVGTextElement>
onCanPlay
ReactEventHandler<SVGTextElement>
onCanPlayCapture
ReactEventHandler<SVGTextElement>
onCanPlayThrough
ReactEventHandler<SVGTextElement>
onCanPlayThroughCapture
ReactEventHandler<SVGTextElement>
onDurationChange
ReactEventHandler<SVGTextElement>
onDurationChangeCapture
ReactEventHandler<SVGTextElement>
onEmptied
ReactEventHandler<SVGTextElement>
onEmptiedCapture
ReactEventHandler<SVGTextElement>
onEncrypted
ReactEventHandler<SVGTextElement>
onEncryptedCapture
ReactEventHandler<SVGTextElement>
onEnded
ReactEventHandler<SVGTextElement>
onEndedCapture
ReactEventHandler<SVGTextElement>
onLoadedData
ReactEventHandler<SVGTextElement>
onLoadedDataCapture
ReactEventHandler<SVGTextElement>
onLoadedMetadata
ReactEventHandler<SVGTextElement>
onLoadedMetadataCapture
ReactEventHandler<SVGTextElement>
onLoadStart
ReactEventHandler<SVGTextElement>
onLoadStartCapture
ReactEventHandler<SVGTextElement>
onPause
ReactEventHandler<SVGTextElement>
onPauseCapture
ReactEventHandler<SVGTextElement>
onPlay
ReactEventHandler<SVGTextElement>
onPlayCapture
ReactEventHandler<SVGTextElement>
onPlaying
ReactEventHandler<SVGTextElement>
onPlayingCapture
ReactEventHandler<SVGTextElement>
onProgress
ReactEventHandler<SVGTextElement>
onProgressCapture
ReactEventHandler<SVGTextElement>
onRateChange
ReactEventHandler<SVGTextElement>
onRateChangeCapture
ReactEventHandler<SVGTextElement>
onResize
ReactEventHandler<SVGTextElement>
onResizeCapture
ReactEventHandler<SVGTextElement>
onSeeked
ReactEventHandler<SVGTextElement>
onSeekedCapture
ReactEventHandler<SVGTextElement>
onSeeking
ReactEventHandler<SVGTextElement>
onSeekingCapture
ReactEventHandler<SVGTextElement>
onStalled
ReactEventHandler<SVGTextElement>
onStalledCapture
ReactEventHandler<SVGTextElement>
onSuspend
ReactEventHandler<SVGTextElement>
onSuspendCapture
ReactEventHandler<SVGTextElement>
onTimeUpdate
ReactEventHandler<SVGTextElement>
onTimeUpdateCapture
ReactEventHandler<SVGTextElement>
onVolumeChange
ReactEventHandler<SVGTextElement>
onVolumeChangeCapture
ReactEventHandler<SVGTextElement>
onWaiting
ReactEventHandler<SVGTextElement>
onWaitingCapture
ReactEventHandler<SVGTextElement>
onAuxClick
MouseEventHandler<SVGTextElement>
onAuxClickCapture
MouseEventHandler<SVGTextElement>
onClick
MouseEventHandler<SVGTextElement>
onClickCapture
MouseEventHandler<SVGTextElement>
onContextMenu
MouseEventHandler<SVGTextElement>
onContextMenuCapture
MouseEventHandler<SVGTextElement>
onDoubleClick
MouseEventHandler<SVGTextElement>
onDoubleClickCapture
MouseEventHandler<SVGTextElement>
onDrag
DragEventHandler<SVGTextElement>
onDragCapture
DragEventHandler<SVGTextElement>
onDragEnd
DragEventHandler<SVGTextElement>
onDragEndCapture
DragEventHandler<SVGTextElement>
onDragEnter
DragEventHandler<SVGTextElement>
onDragEnterCapture
DragEventHandler<SVGTextElement>
onDragExit
DragEventHandler<SVGTextElement>
onDragExitCapture
DragEventHandler<SVGTextElement>
onDragLeave
DragEventHandler<SVGTextElement>
onDragLeaveCapture
DragEventHandler<SVGTextElement>
onDragOver
DragEventHandler<SVGTextElement>
onDragOverCapture
DragEventHandler<SVGTextElement>
onDragStart
DragEventHandler<SVGTextElement>
onDragStartCapture
DragEventHandler<SVGTextElement>
onDrop
DragEventHandler<SVGTextElement>
onDropCapture
DragEventHandler<SVGTextElement>
onMouseDown
MouseEventHandler<SVGTextElement>
onMouseDownCapture
MouseEventHandler<SVGTextElement>
onMouseEnter
MouseEventHandler<SVGTextElement>
onMouseLeave
MouseEventHandler<SVGTextElement>
onMouseMove
MouseEventHandler<SVGTextElement>
onMouseMoveCapture
MouseEventHandler<SVGTextElement>
onMouseOut
MouseEventHandler<SVGTextElement>
onMouseOutCapture
MouseEventHandler<SVGTextElement>
onMouseOver
MouseEventHandler<SVGTextElement>
onMouseOverCapture
MouseEventHandler<SVGTextElement>
onMouseUp
MouseEventHandler<SVGTextElement>
onMouseUpCapture
MouseEventHandler<SVGTextElement>
onSelect
ReactEventHandler<SVGTextElement>
onSelectCapture
ReactEventHandler<SVGTextElement>
onTouchCancel
TouchEventHandler<SVGTextElement>
onTouchCancelCapture
TouchEventHandler<SVGTextElement>
onTouchEnd
TouchEventHandler<SVGTextElement>
onTouchEndCapture
TouchEventHandler<SVGTextElement>
onTouchMove
TouchEventHandler<SVGTextElement>
onTouchMoveCapture
TouchEventHandler<SVGTextElement>
onTouchStart
TouchEventHandler<SVGTextElement>
onTouchStartCapture
TouchEventHandler<SVGTextElement>
onPointerDown
PointerEventHandler<SVGTextElement>
onPointerDownCapture
PointerEventHandler<SVGTextElement>
onPointerMove
PointerEventHandler<SVGTextElement>
onPointerMoveCapture
PointerEventHandler<SVGTextElement>
onPointerUp
PointerEventHandler<SVGTextElement>
onPointerUpCapture
PointerEventHandler<SVGTextElement>
onPointerCancel
PointerEventHandler<SVGTextElement>
onPointerCancelCapture
PointerEventHandler<SVGTextElement>
onPointerEnter
PointerEventHandler<SVGTextElement>
onPointerLeave
PointerEventHandler<SVGTextElement>
onPointerOver
PointerEventHandler<SVGTextElement>
onPointerOverCapture
PointerEventHandler<SVGTextElement>
onPointerOut
PointerEventHandler<SVGTextElement>
onPointerOutCapture
PointerEventHandler<SVGTextElement>
onGotPointerCapture
PointerEventHandler<SVGTextElement>
onGotPointerCaptureCapture
PointerEventHandler<SVGTextElement>
onLostPointerCapture
PointerEventHandler<SVGTextElement>
onLostPointerCaptureCapture
PointerEventHandler<SVGTextElement>
onScroll
UIEventHandler<SVGTextElement>
onScrollCapture
UIEventHandler<SVGTextElement>
onWheel
WheelEventHandler<SVGTextElement>
onWheelCapture
WheelEventHandler<SVGTextElement>
onAnimationStart
AnimationEventHandler<SVGTextElement>
onAnimationStartCapture
AnimationEventHandler<SVGTextElement>
onAnimationEnd
AnimationEventHandler<SVGTextElement>
onAnimationEndCapture
AnimationEventHandler<SVGTextElement>
onAnimationIteration
AnimationEventHandler<SVGTextElement>
onAnimationIterationCapture
AnimationEventHandler<SVGTextElement>
onTransitionEnd
TransitionEventHandler<SVGTextElement>
onTransitionEndCapture
TransitionEventHandler<SVGTextElement>
refAllows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref). @see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}
LegacyRef<SVGTextElement>
key
Key

RadialAxisTickLine (opens in a new tab)

PropDescriptionDefault
sizeSize of the tick line.
number
10
strokeStroke color of the tick line.
string
rgba(113, 128, 141, .5)
innerRadiusInner radius of the arc.
number
outerRadiusOuter radius of the arc.
number
positionPosition of the tick line.
"inside" | "outside"
inside

RadialAxisTickSeries (opens in a new tab)

PropDescriptionDefault
scaleScale to use for the tick.
any
countNumber of ticks to render.
number
12
intervalInterval between ticks.
number | TimeInterval
tickValuesTick values to render.
any[]
outerRadiusOuter radius of the arc.
number
typeType of the axis.
"value" | "category" | "time" | "duration"
time
innerRadiusInner radius of the arc.
number
tickTick element to render.
((tick: TickCallback) => ReactElement<RadialAxisTickProps, FC<Partial<RadialAxisTickProps>>>) | ReactElement<...>
<RadialAxisTick />
startAngleStart angle for the first value.
number
0
endAngleEnd angle for the last value.
number
2 * Math.PI

RadialAxisArc (opens in a new tab)

PropDescriptionDefault
indexIndex of the arc.
number
scaleScale to use for the arc.
any
strokeStroke color of the arc.
string | ((index: number) => string)
#71808d
strokeDasharrayStroke dash array of the arc.
string | ((index: number) => string)
1,4
startAngleStart angle for the first value.
number
0
endAngleEnd angle for the last value.
number
2 * Math.PI

RadialAxisArcLine (opens in a new tab)

PropDescriptionDefault
strokeStroke color of the arc.
string | ((index: number) => string)
#71808d
dataData to render the line.
{ x: number; y: number; }[]
indexIndex of the arc.
number

RadialAxisArcSeries (opens in a new tab)

PropDescriptionDefault
arcArc element to render.
ReactElement<RadialAxisArcProps, FC<Partial<RadialAxisArcProps>>>
<RadialAxisArc />
lineLine element to render.
ReactElement<RadialAxisArcLineProps, FC<Partial<RadialAxisArcLineProps>>>
countNumber of arcs to render.
number
12
innerRadiusInner radius of the arc.
number
outerRadiusOuter radius of the arc.
number
tickValuesCalculated tick values by the Radial Axis.
any[]
startAngleStart angle for the first value.
number
0
endAngleEnd angle for the last value.
number
2 * Math.PI