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]
|
2020-12-30 15:30:42 +01:00
|
|
|
[ext_resource path="res://addons/easy_charts/BarChart/bar_chart.gd" type="Script" id=2]
|
2020-05-14 02:36:45 +02:00
|
|
|
|
|
|
|
[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-08-04 15:22:30 +02:00
|
|
|
Chart_Properties/are_values_columns = false
|
|
|
|
Chart_Properties/labels_index = 0
|
|
|
|
Chart_Properties/show_x_values_as_labels = true
|
|
|
|
Chart_Properties/column_width = 2.0
|
|
|
|
Chart_Properties/column_gap = 2.0
|
|
|
|
Chart_Display/x_decim = 5.0
|
2020-12-30 15:30:42 +01:00
|
|
|
Chart_Display/y_decim = 1.0
|
2020-08-04 15:22:30 +02:00
|
|
|
Chart_Style/points_shape = [ 0 ]
|
|
|
|
Chart_Style/function_colors = PoolColorArray( 0.117647, 0.117647, 0.117647, 1, 0.117647, 0.117647, 0.117647, 1, 0.117647, 0.117647, 0.117647, 1, 0.117647, 0.117647, 0.117647, 1 )
|
|
|
|
Chart_Style/box_color = Color( 0.117647, 0.117647, 0.117647, 1 )
|
|
|
|
Chart_Style/v_lines_color = Color( 0.792157, 0.792157, 0.792157, 1 )
|
|
|
|
Chart_Style/h_lines_color = Color( 0.792157, 0.792157, 0.792157, 1 )
|
|
|
|
Chart_Style/font = null
|
|
|
|
Chart_Style/bold_font = null
|
|
|
|
Chart_Style/font_color = Color( 0.117647, 0.117647, 0.117647, 1 )
|
2020-12-30 15:30:42 +01:00
|
|
|
Chart_Style/use_template = true
|
2020-08-04 15:22:30 +02:00
|
|
|
Chart_Style/template = 0
|
|
|
|
Chart_Modifiers/invert_chart = false
|
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="."]
|
2020-12-30 15:30:42 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-05-14 02:36:45 +02:00
|
|
|
__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
|
|
|
|
}
|
|
|
|
|
2020-08-04 15:22:30 +02:00
|
|
|
[node name="ChartName" type="Label" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 0.0266667
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": true
|
|
|
|
}
|
|
|
|
|
2020-05-14 02:36:45 +02:00
|
|
|
[node name="PointData" parent="." instance=ExtResource( 1 )]
|
|
|
|
|
|
|
|
[node name="PointData" parent="PointData" index="0"]
|
2020-12-30 15:30:42 +01:00
|
|
|
margin_left = -32.6676
|
|
|
|
margin_top = -84.4238
|
|
|
|
margin_right = -32.8033
|
|
|
|
margin_bottom = -83.6237
|
2020-05-14 02:36:45 +02:00
|
|
|
theme = SubResource( 1 )
|
|
|
|
|
|
|
|
[editable path="PointData"]
|