Closed viveknaragude closed 6 years ago
Interesting problem! I will try to reproduce it and find a fix. Probably have to change the labeling code.
Hi codesuki you can change the labeling code.
Sorry, not yet :( I am totally swamped by work.
Could you solve the problem by making the pie chart bigger? The only solutions that come to mind are hiding overlapping labels or making the chart bigger.
just told me can i do this change in which file
making the chart bigger is not good solution
You could fork and play around with src/PieChart.jsx
to see if you get some better results.
ok Thank You..
@viveknaragude @codesuki is there a fix for this ?
Maybe here: https://github.com/thomasdashney/react-d3-components/commit/c1486eb4b54e2554ef773297583dd02c0f9c5c68
@thomasdashney any chance for a pull request?
I pushed the fix. Version 0.6.7.
@codesuki :+1: I don't think it's a great solution, but I do think it's better than having no safeguard
@thomasdashney good job! I hope it's okay I integrated your idea there.
will see in the Version 0.6.7 , thanks @codesuki for responding
That would be a good thing to have. I personally always play around in the example file.
thanks for the fiddle :+1:
It's still using the old version. Will update it in a second.
@MDB-20 please update your version its fix (thomasdashney/react-d3-components@c1486eb)
@viveknaragude it's fixed now in 0.6.7
Can we look into this again? Related to https://github.com/codesuki/react-d3-components/issues/172, this doesn't seem like the optimal behavior in pie charts in which visually there is clearly enough space for multiple labels to appear close to each other.
the issues regarding pie charts label overlapping and label hidden help me if it is not issue and how i can fix it