PieChart strokeLinejoin doesnt work
See original GitHub issueWhat is the problem?
strokeLinejoin: ‘round’ doesnt do rounded corners to Pie slices
When does it happen?
Using PieChart component
What platform?
iOS, Android
React Native version: 0.57
Code to reproduce
const data = [
347,
500,
153,
].map((value, index) => ({
value,
key: `slise-${index}`,
svg: {
strokeLinejoin: 'round',
fill: COLORS[index],
},
}))
<PieChart
data={data}
startAngle={-Math.PI / 2}
endAngle={Math.PI / 2}
padAngle={0}
outerRadius="100%"
innerRadius="88%"
/>
Result: no rounded corners
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
In a Highcharts pie chart, how can I have rounded borders ...
I'm trying to recreate this image with Highcharts 5 (styled mode), and struggle to figure out a way to make the rounded borders....
Read more >Pie Are Square - Charting with SVG - Article
Since pie charts will require some complex calculation, we will generally use two agents to create and serve the chart. What we want...
Read more >Insert Google Charts (Pie Chart) within Custom HTML
A working method to paste text, copied in #3 above, into a custom HTML resource, from #2 above. Before we begin, (while the...
Read more >Button on click does not display pie charts [closed]
The pie chart displays fine without button click. But it doesn't work with the button. I have tried the following:
Read more >Pie Chart / D3
This chart shows the estimated population by age in the United States as of 2015. ... strokeLinejoin = "round", // line join of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No Problem, thanks anyways
@codeapp17 No, we ended up dropping the idea and going a different route, sorry.