Hi @timqian - as mentioned elsewhere, I'm loving your work! :)
I'm just testing 1.0.7 and observed in the documentation that innerRadius is a valid key in the options object for the Pie chart. I've been testing the functionality and works as expected, with the exception of 0 as a value.
According the to the doc:
Want a pie chart? set innerRadius to 0
This works all the way down to 0.01 and then when set to 0 it reverts the chart back to the default (0.5), so I suspect there might be an evaluation of 0 that is coercing to default.
I've attached an example of rendering for a couple of values, but can reproduce in the codepen examples also.
Hi @timqian - as mentioned elsewhere, I'm loving your work! :)
I'm just testing 1.0.7 and observed in the documentation that
innerRadius
is a valid key in theoptions
object for thePie
chart. I've been testing the functionality and works as expected, with the exception of0
as a value.According the to the doc:
This works all the way down to
0.01
and then when set to0
it reverts the chart back to the default (0.5
), so I suspect there might be an evaluation of0
that is coercing to default. I've attached an example of rendering for a couple of values, but can reproduce in the codepen examples also.