Set the pie chart inner radius dynamically