2020-05-14 02:36:45 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://addons/easy_charts/Utilities/Point/PointData.tscn" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://addons/easy_charts/BarChart/BarChart.gd" type="Script" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
|
|
|
|
[node name="BarChart" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
rect_min_size = Vector2( 70, 50 )
|
|
|
|
mouse_filter = 2
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
__meta__ = {
|
2020-05-26 23:52:45 +02:00
|
|
|
"The file you want to use as a source for your chart. It must be a *.CSV file, or a plain *.TXT file formatted in the right way.": "",
|
2020-05-20 17:28:10 +02:00
|
|
|
"_edit_use_anchors_": false,
|
|
|
|
"_editor_description_": "[BarChart] - General purpose node for Bar Charts
|
|
|
|
|
|
|
|
A bar chart or bar graph is a chart or graph that presents categorical data with
|
|
|
|
rectangular bars with heights or lengths proportional to the values that they represent.
|
|
|
|
The bars can be plotted vertically or horizontally. A vertical bar chart is sometimes
|
|
|
|
called a column chart.
|
|
|
|
A bar graph shows comparisons among discrete categories. One axis of the chart shows
|
|
|
|
the specific categories being compared, and the other axis represents a measured value.
|
|
|
|
Some bar graphs present bars clustered in groups of more than one, showing the
|
|
|
|
values of more than one measured variable."
|
2020-05-14 02:36:45 +02:00
|
|
|
}
|
2020-05-20 17:28:10 +02:00
|
|
|
function_colors = [ "#1e1e1e", "#1e1e1e", "#1e1e1e", "#1e1e1e" ]
|
2020-05-14 02:36:45 +02:00
|
|
|
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
|
|
|
visible = false
|
|
|
|
show_behind_parent = true
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
color = Color( 0.882353, 0.882353, 0.882353, 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Points" type="Control" parent="."]
|
|
|
|
margin_right = 40.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Legend" type="HBoxContainer" parent="."]
|
|
|
|
visible = false
|
|
|
|
margin_right = 1024.0
|
|
|
|
margin_bottom = 64.0
|
|
|
|
alignment = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="PointData" parent="." instance=ExtResource( 1 )]
|
|
|
|
|
|
|
|
[node name="PointData" parent="PointData" index="0"]
|
2020-05-18 07:46:26 +02:00
|
|
|
visible = false
|
2020-05-14 02:36:45 +02:00
|
|
|
theme = SubResource( 1 )
|
|
|
|
|
|
|
|
[editable path="PointData"]
|