[gd_scene load_steps=5 format=2]

[ext_resource path="res://addons/easy_charts/utilities/containers/data_tooltip/data_tooltip.gd" type="Script" id=1]

[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 10.0
content_margin_right = 10.0
content_margin_top = 8.0
content_margin_bottom = 8.0
bg_color = Color( 0.101961, 0.101961, 0.101961, 0.784314 )
border_color = Color( 1, 1, 1, 1 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
corner_detail = 20
anti_aliasing_size = 0.9

[sub_resource type="StyleBoxFlat" id=2]
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
corner_detail = 20
anti_aliasing_size = 0.7

[sub_resource type="StyleBoxEmpty" id=3]

[node name="DataTooltip" type="PanelContainer"]
margin_right = 169.0
margin_bottom = 49.0
mouse_filter = 2
custom_styles/panel = SubResource( 1 )
script = ExtResource( 1 )

[node name="PointData" type="VBoxContainer" parent="."]
margin_left = 10.0
margin_top = 8.0
margin_right = 159.0
margin_bottom = 42.0
grow_horizontal = 2
size_flags_horizontal = 3
custom_constants/separation = 6
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}

[node name="x" type="Label" parent="PointData"]
margin_right = 55.0
margin_bottom = 14.0
size_flags_horizontal = 0
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "{x value}"
valign = 1

[node name="Value" type="HBoxContainer" parent="PointData"]
margin_top = 20.0
margin_right = 149.0
margin_bottom = 34.0
grow_horizontal = 2
size_flags_horizontal = 7
custom_constants/separation = 1

[node name="Color" type="Panel" parent="PointData/Value"]
margin_top = 2.0
margin_right = 10.0
margin_bottom = 12.0
rect_min_size = Vector2( 10, 10 )
size_flags_horizontal = 4
size_flags_vertical = 4
custom_styles/panel = SubResource( 2 )

[node name="VSeparator" type="VSeparator" parent="PointData/Value"]
margin_left = 11.0
margin_right = 15.0
margin_bottom = 14.0
custom_constants/separation = 4
custom_styles/separator = SubResource( 3 )

[node name="Function" type="Label" parent="PointData/Value"]
margin_left = 16.0
margin_right = 78.0
margin_bottom = 14.0
size_flags_horizontal = 0
size_flags_vertical = 5
text = "{function}"
valign = 1

[node name="sep" type="Label" parent="PointData/Value"]
margin_left = 79.0
margin_right = 83.0
margin_bottom = 14.0
size_flags_horizontal = 0
size_flags_vertical = 5
text = ":"
valign = 1

[node name="VSeparator2" type="VSeparator" parent="PointData/Value"]
margin_left = 84.0
margin_right = 88.0
margin_bottom = 14.0
custom_constants/separation = 4
custom_styles/separator = SubResource( 3 )

[node name="y" type="Label" parent="PointData/Value"]
margin_left = 89.0
margin_right = 144.0
margin_bottom = 14.0
size_flags_horizontal = 0
size_flags_vertical = 5
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "{y value}"
valign = 1

[connection signal="visibility_changed" from="." to="." method="_on_DataTooltip_visibility_changed"]
