Open EiTaNBaRiBoA opened 6 months ago
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):