padAngle property of react-vis radial pie chart not working

292 views Asked by At

My code

What is being rendered

What I was hoping for

I've tried numerous values, and I haven't been able to change anything. Working from these docs: http://uber.github.io/react-vis/documentation/other-charts/radial-chart

1

There are 1 answers

0
Anthony On

The documentation makes it seem like padAngle should be set in the data objects, however it actually should be a prop of the RadialChart component:

<RadialChart 
  data={...}
  ...
  padAngle={0.1}
/>