mirror of
https://github.com/Relintai/pandemonium_engine_easy_charts.git
synced 2024-12-19 13:37:03 +01:00
624662e8a2
- bugfix - added PieChart - implemented real time plotting - implemented array plotting
18 lines
341 B
GDScript
18 lines
341 B
GDScript
extends Reference
|
|
class_name Slice
|
|
|
|
var x_value : String
|
|
var y_value : String
|
|
var from_angle : float
|
|
var to_angle : float
|
|
var function : String
|
|
var color : Color
|
|
|
|
func _init(x : String, y : String, from : float, to : float, fun : String, col : Color):
|
|
x_value = x
|
|
y_value = y
|
|
from_angle = from
|
|
to_angle = to
|
|
function = fun
|
|
color = col
|