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)
Prop | Description | Default |
---|---|---|
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)
Prop | Description | Default |
---|---|---|
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)
Prop | Description | Default |
---|---|---|
text | string | |
fullText | string | |
angle | number | |
orientation | "horizontal" | "vertical" | |
half | "start" | "end" | "center" | |
line | ReactElement<LinearAxisTickLineProps, FC<Partial<LinearAxisTickLineProps>>> | |
format | (v: any) => any | |
formatTooltip | Format 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)
Prop | Description | Default |
---|---|---|
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)
Prop | Description | Default |
---|---|---|
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)
Prop | Description | Default |
---|---|---|
height | Height of the axis.number | |
width | Width of the axis.number | |
xScale | Scale to use for the axis.any | |
innerRadius | Inner radius of the axis.number | 10 |
type | Type of the axis."value" | "time" | "category" | value |
arcs | Arc element to render.ReactElement<RadialAxisArcSeriesProps, FC<Partial<RadialAxisArcSeriesProps>>> | <RadialAxisArcSeries /> |
ticks | Tick element to render.ReactElement<RadialAxisTickSeriesProps, FC<Partial<RadialAxisTickSeriesProps>>> | <RadialAxisTickSeries /> |
startAngle | Start angle for the first value.number | 0 |
endAngle | End angle for the last value.number | 2 * Math.PI |
RadialAxisTick (opens in a new tab)
Prop | Description | Default |
---|---|---|
scale | Scale to use for the tick.any | |
outerRadius | Outer radius of the arc.number | 0 |
innerRadius | Inner radius of the arc.number | |
padding | Padding between the tick and the label.number | 0 |
data | Data to render.any | |
index | Index of the tick.number | |
line | Line element to render.ReactElement<RadialAxisTickLineProps, FC<Partial<RadialAxisTickLineProps>>> | <RadialAxisTickLine /> |
label | Label element to render.ReactElement<RadialAxisTickLabelProps, FC<Partial<RadialAxisTickLabelProps>>> | <RadialAxisTickLabel /> |
startAngle | Start angle for the first value.number | 0 |
endAngle | End angle for the last value.number | 2 * Math.PI |
RadialAxisTickLabel (opens in a new tab)
Prop | Description | Default |
---|---|---|
data | Data to render.any | |
lineSize | Size of the line.number | |
fill | Color of the text.string | #71808d |
fontSize | Font size of the text.number | 11 |
rotation | Rotation of the text.number | |
fontFamily | Font family of the text.string | sans-serif |
index | Index of the tick.number | |
padding | Padding of the tick.number | 15 |
point | Point of the tick.any | |
autoRotate | Auto rotate the text.boolean | true |
format | Format of the label.(value: any, index: number) => any | |
formatTooltip | Format 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-activedescendant | Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.string | |
aria-atomic | Indicates 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-autocomplete | Indicates 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-braillelabel | Defines a string value that labels the current element, which is intended to be converted into Braille.
@see aria-label.string | |
aria-brailleroledescription | Defines 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-checked | Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
@see aria-pressed
@see aria-selected.boolean | "true" | "false" | "mixed" | |
aria-colcount | Defines the total number of columns in a table, grid, or treegrid.
@see aria-colindex.number | |
aria-colindex | Defines 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-colindextext | Defines a human readable text alternative of aria-colindex.
@see aria-rowindextext.string | |
aria-colspan | Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
@see aria-colindex
@see aria-rowspan.number | |
aria-controls | Identifies the element (or elements) whose contents or presence are controlled by the current element.
@see aria-owns.string | |
aria-current | Indicates the element that represents the current item within a container or set of related elements.boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | |
aria-describedby | Identifies the element (or elements) that describes the object.
@see aria-labelledbystring | |
aria-description | Defines a string value that describes or annotates the current element.
@see related aria-describedby.string | |
aria-details | Identifies the element that provides a detailed, extended description for the object.
@see aria-describedby.string | |
aria-disabled | Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
@see aria-hidden
@see aria-readonly.Booleanish | |
aria-dropeffect | Indicates 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-errormessage | Identifies the element that provides an error message for the object.
@see aria-invalid
@see aria-describedby.string | |
aria-expanded | Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.Booleanish | |
aria-flowto | Identifies 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-grabbed | Indicates an element's "grabbed" state in a drag-and-drop operation.
@deprecated in ARIA 1.1Booleanish | |
aria-haspopup | Indicates 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-hidden | Indicates whether the element is exposed to an accessibility API.
@see aria-disabled.Booleanish | |
aria-invalid | Indicates the entered value does not conform to the format expected by the application.
@see aria-errormessage.boolean | "true" | "false" | "grammar" | "spelling" | |
aria-keyshortcuts | Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.string | |
aria-label | Defines a string value that labels the current element.
@see aria-labelledby.string | |
aria-labelledby | Identifies the element (or elements) that labels the current element.
@see aria-describedby.string | |
aria-level | Defines the hierarchical level of an element within a structure.number | |
aria-live | Indicates 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-modal | Indicates whether an element is modal when displayed.Booleanish | |
aria-multiline | Indicates whether a text box accepts multiple lines of input or only a single line.Booleanish | |
aria-multiselectable | Indicates that the user may select more than one item from the current selectable descendants.Booleanish | |
aria-orientation | Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."horizontal" | "vertical" | |
aria-owns | Identifies 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-placeholder | Defines 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-posinset | Defines 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-pressed | Indicates the current "pressed" state of toggle buttons.
@see aria-checked
@see aria-selected.boolean | "true" | "false" | "mixed" | |
aria-readonly | Indicates that the element is not editable, but is otherwise operable.
@see aria-disabled.Booleanish | |
aria-relevant | Indicates 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-required | Indicates that user input is required on the element before a form may be submitted.Booleanish | |
aria-roledescription | Defines a human-readable, author-localized description for the role of an element.string | |
aria-rowcount | Defines the total number of rows in a table, grid, or treegrid.
@see aria-rowindex.number | |
aria-rowindex | Defines 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-rowindextext | Defines a human readable text alternative of aria-rowindex.
@see aria-colindextext.string | |
aria-rowspan | Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
@see aria-rowindex
@see aria-colspan.number | |
aria-selected | Indicates the current "selected" state of various widgets.
@see aria-checked
@see aria-pressed.Booleanish | |
aria-setsize | Defines 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-sort | Indicates if items in a table or grid are sorted in ascending or descending order."none" | "ascending" | "descending" | "other" | |
aria-valuemax | Defines the maximum allowed value for a range widget.number | |
aria-valuemin | Defines the minimum allowed value for a range widget.number | |
aria-valuenow | Defines the current value for a range widget.
@see aria-valuetext.number | |
aria-valuetext | Defines 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 | @deprecatedKeyboardEventHandler<SVGTextElement> | |
onKeyPressCapture | @deprecatedKeyboardEventHandler<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> | |
ref | Allows 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)
Prop | Description | Default |
---|---|---|
size | Size of the tick line.number | 10 |
stroke | Stroke color of the tick line.string | rgba(113, 128, 141, .5) |
innerRadius | Inner radius of the arc.number | |
outerRadius | Outer radius of the arc.number | |
position | Position of the tick line."inside" | "outside" | inside |
RadialAxisTickSeries (opens in a new tab)
Prop | Description | Default |
---|---|---|
scale | Scale to use for the tick.any | |
count | Number of ticks to render.number | 12 |
interval | Interval between ticks.number | TimeInterval | |
tickValues | Tick values to render.any[] | |
outerRadius | Outer radius of the arc.number | |
type | Type of the axis."value" | "category" | "time" | "duration" | time |
innerRadius | Inner radius of the arc.number | |
tick | Tick element to render.((tick: TickCallback) => ReactElement<RadialAxisTickProps, FC<Partial<RadialAxisTickProps>>>) | ReactElement<...> | <RadialAxisTick /> |
startAngle | Start angle for the first value.number | 0 |
endAngle | End angle for the last value.number | 2 * Math.PI |
RadialAxisArc (opens in a new tab)
Prop | Description | Default |
---|---|---|
index | Index of the arc.number | |
scale | Scale to use for the arc.any | |
stroke | Stroke color of the arc.string | ((index: number) => string) | #71808d |
strokeDasharray | Stroke dash array of the arc.string | ((index: number) => string) | 1,4 |
startAngle | Start angle for the first value.number | 0 |
endAngle | End angle for the last value.number | 2 * Math.PI |
RadialAxisArcLine (opens in a new tab)
Prop | Description | Default |
---|---|---|
stroke | Stroke color of the arc.string | ((index: number) => string) | #71808d |
data | Data to render the line.{ x: number; y: number; }[] | |
index | Index of the arc.number |
RadialAxisArcSeries (opens in a new tab)
Prop | Description | Default |
---|---|---|
arc | Arc element to render.ReactElement<RadialAxisArcProps, FC<Partial<RadialAxisArcProps>>> | <RadialAxisArc /> |
line | Line element to render.ReactElement<RadialAxisArcLineProps, FC<Partial<RadialAxisArcLineProps>>> | |
count | Number of arcs to render.number | 12 |
innerRadius | Inner radius of the arc.number | |
outerRadius | Outer radius of the arc.number | |
tickValues | Calculated tick values by the Radial Axis.any[] | |
startAngle | Start angle for the first value.number | 0 |
endAngle | End angle for the last value.number | 2 * Math.PI |