Appearance
PolarAxis
The PolarAxis
component can draw tick marks, tick labels, the axis iteself, and grid lines for a polar represenation.
Prop ControlsSHOW
Props
name | type | default | required | description |
---|---|---|---|---|
angleDomain | Domain | N/A | 🗹 | the min and max values being mapped to the rotation axis |
magnitudeDomain | Domain | N/A | 🗹 | the min and max values being mapped to the magnitude axis |
polarSystem | PolarSystem | N/A | 🗹 | must be provided by usePolarInterpolator |
angleTickFrequency | string | "0" | ☐ | DO NOT USE |
axisTickFormatter | (value: Value, tickIndex?: number | undefined): string | getDefaultTickFormatter() | ☐ |
drawAngleGridLines | boolean | false | ☐ | when true draws grid lines at each tick for the rotational axis (radial lines) |
drawAngleLabels | boolean | false | ☐ | when true draws labels on each angle tick |
drawMagnitudeGridLines | boolean | false | ☐ | when true draws grid lines at each magnitude tick (concentric circles) |
drawMagnitudeLabels | boolean | false | ☐ | when true draws labels on each magnitude tick |
labelMarginPx | number | 12 | ☐ | margin in pixels for the tick label from the tick itself |
magnitudeTickFrequency | string | "0" | ☐ | DO NOT USE |
plotMarginPx | number | 0 | ☐ | padding in pixels for axis edge to the plot area (can be negative) |
tickLengthPx | number | 8 | ☐ | length in pixels for a tick on an axis edge (can be negative) |