You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
when setting var y: Array = ["Java", "JavaScript"] and var x: Array = [5, 6] the percentage of the numbers overlap each other
To Reproduce
Steps to reproduce the behavior:
Go to the piechart example, edit control.gd script and change the x,y values var y: Array = ["Java", "JavaScript"] var x: Array = [5, 6]
Expected behavior
Numbers not being overlapping
Desktop (please complete the following information):
OS: Windows
Godot Engine Version 4.2.2
Plugin Version: 24.05.06
The text was updated successfully, but these errors were encountered:
Looking at the code, this happens anytime an arc is larger than (or equal to?) PI radians, because pie_plotter.gd, line 64: var mid_point: Vector2 = (slice[-1] + slice[1]) / 2 doesn't take into account slices that are larger than a half circle. I have confirmed this with the data [1, 2, 3, 10] in the example:
Describe the bug
when setting
var y: Array = ["Java", "JavaScript"]
andvar x: Array = [5, 6]
the percentage of the numbers overlap each otherTo Reproduce
Steps to reproduce the behavior:
Go to the piechart example, edit control.gd script and change the x,y values
var y: Array = ["Java", "JavaScript"]
var x: Array = [5, 6]
Expected behavior
Numbers not being overlapping
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: