mirror of
https://github.com/Relintai/pandemonium_engine_easy_charts.git
synced 2024-11-12 10:15:19 +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()
|
set_shapes()
|
||||||
create_legend()
|
create_legend()
|
||||||
emit_signal("chart_plotted",self)
|
emit_signal("chart_plotted",self)
|
||||||
connect("item_rect_changed", self, "redraw")
|
|
||||||
|
|
||||||
func plot_from_csv(csv_file : String, _delimiter : String = delimiter):
|
func plot_from_csv(csv_file : String, _delimiter : String = delimiter):
|
||||||
load_font()
|
load_font()
|
||||||
@ -321,6 +320,8 @@ func plot_from_array(array : Array) -> void:
|
|||||||
set_shapes()
|
set_shapes()
|
||||||
create_legend()
|
create_legend()
|
||||||
emit_signal("chart_plotted",self)
|
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:
|
func plot_from_dataframe(dataframe : DataFrame) -> void:
|
||||||
load_font()
|
load_font()
|
||||||
|
Loading…
Reference in New Issue
Block a user