2020-05-14 02:36:45 +02:00
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://addons/easy_charts/BarChart2D/BarChart2D.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://addons/easy_charts/Utilities/Point/PointData.tscn" type="PackedScene" id=2]
|
|
|
|
|
|
|
|
[node name="BarChart2D" type="Node2D"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
2020-05-20 17:28:10 +02:00
|
|
|
"_edit_group_": true,
|
|
|
|
"_editor_description_": "[BarChart2D] - 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="Grid" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="VLine" type="Line2D" parent="Grid"]
|
|
|
|
points = PoolVector2Array( 0, 0, 0, 0 )
|
|
|
|
width = 1.0
|
|
|
|
default_color = Color( 0.792157, 0.792157, 0.792157, 1 )
|
|
|
|
|
|
|
|
[node name="HLine" type="Line2D" parent="Grid"]
|
|
|
|
points = PoolVector2Array( 0, 0, 0, 0 )
|
|
|
|
width = 1.0
|
|
|
|
default_color = Color( 0.792157, 0.792157, 0.792157, 1 )
|
|
|
|
|
|
|
|
[node name="Outlines" type="Line2D" parent="."]
|
|
|
|
points = PoolVector2Array( 0, 0, 2, 0, 2, 2, 0, 2, 0, 0 )
|
|
|
|
width = 2.0
|
|
|
|
default_color = Color( 0.117647, 0.117647, 0.117647, 1 )
|
|
|
|
|
|
|
|
[node name="Functions" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="Function" type="Line2D" parent="Functions"]
|
|
|
|
points = PoolVector2Array( 0, 0, 0, 0 )
|
|
|
|
width = 5.0
|
|
|
|
default_color = Color( 0.117647, 0.117647, 0.117647, 1 )
|
|
|
|
|
|
|
|
[node name="FunctionsTween" type="Tween" parent="."]
|
|
|
|
|
|
|
|
[node name="OutlinesTween" type="Tween" parent="."]
|
|
|
|
|
|
|
|
[node name="GridTween" type="Tween" parent="."]
|
|
|
|
|
|
|
|
[node name="PointData" parent="." instance=ExtResource( 2 )]
|
|
|
|
|
|
|
|
[node name="PointData" parent="PointData" index="0"]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[editable path="PointData"]
|