PolarGrid

父组件

PolarGrid consumes context provided by these components:

Props

  • angleAxisIdnumber | stringoptional

    默认值:0

  • cxnumber | stringoptional

    The x-coordinate of center. When used inside a chart context, this prop is calculated based on the chart's dimensions, and this prop is ignored.

    This is only used when rendered outside a chart context.

  • cynumber | stringoptional

    The y-coordinate of center. When used inside a chart context, this prop is calculated based on the chart's dimensions, and this prop is ignored.

    This is only used when rendered outside a chart context.

  • gridType"circle" | "polygon"optional

    The type of polar grids.

    默认值:"polygon"

  • innerRadiusnumberoptional

    The radius of the inner polar grid. When used inside a chart context, this prop is calculated based on the chart's dimensions, and this prop is ignored.

    This is only used when rendered outside a chart context.

  • outerRadiusnumberoptional

    The radius of the outer polar grid. When used inside a chart context, this prop is calculated based on the chart's dimensions, and this prop is ignored.

    This is only used when rendered outside a chart context.

  • polarAnglesArray<readonly number>optional

    The array of every line grid's angle.

  • polarRadiusArray<readonly number>optional

    The array of every circle grid's radius.

  • radialLinesbooleanoptional

    默认值:true

  • radiusAxisIdnumber | stringoptional

    默认值:0

  • zIndexnumberoptional

    Z-Index of this component and its children. The higher the value, the more on top it will be rendered. Components with higher zIndex will appear in front of components with lower zIndex. If undefined or 0, the content is rendered in the default layer without portals.

    默认值:-100