Open raphaelbogner opened 1 year ago
Hi, Could you please share the relevant code files to assist in resolving this issue more effectively?
@Laiq37 @raphaelbogner
I found this bug as well and in my case, I've the Pie chart inside a sheet. When I drag sheet, the pie chart goes to 7 degree angle.
When I assigned the startAngle = 7 , then pie chart remains stable on closing or playing with sheet. Otherwise, for all other angles, when I close the sheet, the pie chart goes to 7 degree angle always.
I'm using the Pie chart inside this sheet : sliding_panel
https://github.com/Laiq37/easy_pie_chart/assets/61233208/d1c77d7c-65ee-4890-ad52-a5287d905da8
Resolved this issue by using another variable for start angle and retaining the initial start angle of pie chart.
Use the new variable at all other places in this clss.
@Laiq37 @raphaelbogner
Thank you for sharing your solution! I'm glad to hear that it resolved the issue for you. I'll work on fixing this globally. Could you provide more details on how you're using the widget with the sliding_panel package? This information will be valuable in reproducing and addressing the problem effectively. Your feedback is much appreciated!
Anything new with this? Im still experiencing the same bug. I would really appreciate if this could get fixed in the lib.
@Laiq37
I have a grid with focusable containers, in one of them I use this pie chart package. I attached two images with 0 degrees start position and a picture that shows the pie chart after I focused the Container with it inside. As said in the title, when I focus the Container with the pie chart it turns to about 5 degrees. It does not change anything if the pie chart has a start position of 0 or 90 or anything else, it always turns to around 5 degrees.