pie_chart icon indicating copy to clipboard operation
pie_chart copied to clipboard

Ring type charts overlaps with neighbouring widget

Open Koushikphy opened this issue 3 years ago • 2 comments

It seems for the ChartType.ring, chartRadius is calculated for the inner ring, so for a thick ringStrokeWidth the ring overlaps/overflows to the neighbouring widgets. I think the chartRadius should be calculated for the outer radius of the ring so that it stays withing its space.

Koushikphy avatar Nov 17 '21 08:11 Koushikphy

Yes you pointed out correctly.

apgapg avatar Nov 17 '21 11:11 apgapg

It seems for the ChartType.ring, chartRadius is calculated for the inner ring, so for a thick ringStrokeWidth the ring overlaps/overflows to the neighbouring widgets. I think the chartRadius should be calculated for the outer radius of the ring so that it stays withing its space.

Did you find any solution

Shubh-Vyas-ey avatar Aug 08 '23 08:08 Shubh-Vyas-ey