mirror of
https://github.com/Relintai/pandemonium_engine_easy_charts.git
synced 2024-11-14 10:17:24 +01:00
d46e099717
* Fixed ScatterChart to work like LineChart when are_values_columns is true * Fixed labeling spaguetti and added offset. * Fixed indentation to match GDScript style guide * Fix distances calculations Note that I removed the origin_at_zero conditional at calculate_coordinates because I already fix y_margin_min to 0 at structure_datas. * Add missing features to ScatterChart I added the missing features from LineChart to ScatterChart (like treshold and some properties) in preparation to creation of a Parent Class common to both. This way the changes can be traced easily. * Add BaseClass for Scatter and Line Charts * Changes to property_list getter * Rename ScatterChartBase.gd to scatter_chart_base.gd * Filenames changed to match GDscript Style Guide From Godot so it doesn't break the links. * Fixed some dependencies on chart and chart2D
88 lines
2.7 KiB
Plaintext
88 lines
2.7 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://addons/easy_charts/Utilities/Point/point_data.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://addons/easy_charts/RadarChart/radar_chart.gd" type="Script" id=2]
|
|
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
[node name="RadarChart" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
rect_min_size = Vector2( 70, 50 )
|
|
mouse_filter = 2
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false,
|
|
"_editor_description_": "[RadarChart] - General purpose node for Radar Charts
|
|
A radar chart is a graphical method of displaying multivariate data in the form
|
|
of a two-dimensional chart of three or more quantitative variables represented on axes
|
|
starting from the same point. The relative position and angle of the axes is typically
|
|
uninformative, but various heuristics, such as algorithms that plot data as the maximal
|
|
total area, can be applied to sort the variables (axes) into relative positions that reveal
|
|
distinct correlations, trade-offs, and a multitude of other comparative measures."
|
|
}
|
|
Chart_Properties/are_values_columns = false
|
|
Chart_Properties/labels_index = 0
|
|
Chart_Properties/function_names_index = 0
|
|
Chart_Properties/use_height_as_radius = false
|
|
Chart_Properties/radius = 150.0
|
|
Chart_Display/full_scale = 1.0
|
|
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/outline_color = Color( 0.117647, 0.117647, 0.117647, 1 )
|
|
Chart_Style/grid_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 )
|
|
Chart_Style/template = 0
|
|
Chart_Modifiers/rotation = 0.0
|
|
|
|
[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="ChartName" type="Label" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.053
|
|
margin_bottom = 0.199999
|
|
align = 1
|
|
valign = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": true
|
|
}
|
|
|
|
[node name="PointData" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="PointData" parent="PointData" index="0"]
|
|
visible = false
|
|
margin_left = -448.644
|
|
margin_top = 721.085
|
|
margin_right = -448.781
|
|
margin_bottom = 721.884
|
|
theme = SubResource( 1 )
|
|
|
|
[editable path="PointData"]
|