benkeen / d3pie

A configurable pie chart lib and generator built on d3.js
MIT License
370 stars 203 forks source link

size.pieOuterRadius does not respond as in examples #154

Open James1345 opened 6 years ago

James1345 commented 6 years ago

Examples show pieOuterRadius (and pieInnerRadius) to accept a sting of the percentage of the canvas to fill with the pie. However, actually using a string has no effect, the two properties respond to number values (which are treated as a percentage). Either the examples are wrong or there is a bug preventing the code from correctly parsing the string