Usage
Props
Grid type
The type of polar grids.
polygon: renders concentric polygonscircle: renders concentric circles
Axes
The id of the angle axis that this grid uses.
The id of the radius axis that this grid uses.
Custom grid values
The array of angles for each radial line grid, in degrees.When used inside a chart context, this is calculated automatically and this prop is ignored.
The array of radii for each concentric circle/polygon grid.When used inside a chart context, this is calculated automatically and this prop is ignored.
Position (standalone mode)
These props are only used when PolarGrid is rendered outside a chart context.The x-coordinate of the center.Calculated automatically inside a chart context.
The y-coordinate of the center.Calculated automatically inside a chart context.
The radius of the inner polar grid.Calculated automatically inside a chart context.
The radius of the outer polar grid.Calculated automatically inside a chart context.
Appearance
If true, radial lines are drawn from the center to the edge.
The stroke color of the grid lines.
The fill color of the background.If specified, a filled background is rendered behind the grid.
The stroke width of the grid lines.
The pattern of dashes and gaps for the grid lines.Example: “3 3” creates a dashed line.
Display
The z-index of the grid.Negative values render behind most other elements.
Other
CSS class name for the polar grid element.