mirror of
https://github.com/Relintai/pandemonium_engine_easy_charts.git
synced 2024-12-21 13:47:18 +01:00
applied automatic resize on Control charts
This commit is contained in:
parent
8e2cfeecf5
commit
a1d0f4c922
@ -282,7 +282,6 @@ func plot():
|
||||
set_shapes()
|
||||
create_legend()
|
||||
emit_signal("chart_plotted",self)
|
||||
connect("item_rect_changed", self, "redraw")
|
||||
|
||||
func plot_from_csv(csv_file : String, _delimiter : String = delimiter):
|
||||
load_font()
|
||||
@ -322,6 +321,8 @@ func plot_from_array(array : Array) -> void:
|
||||
create_legend()
|
||||
emit_signal("chart_plotted",self)
|
||||
|
||||
if not is_connected("item_rect_changed",self, "redraw"): connect("item_rect_changed", self, "redraw")
|
||||
|
||||
func plot_from_dataframe(dataframe : DataFrame) -> void:
|
||||
load_font()
|
||||
PointData.hide()
|
||||
|
Loading…
Reference in New Issue
Block a user