diff --git a/osu.Game/Overlays/Profile/UserGraph.cs b/osu.Game/Overlays/Profile/UserGraph.cs
index c19844960b..aee464dbf9 100644
--- a/osu.Game/Overlays/Profile/UserGraph.cs
+++ b/osu.Game/Overlays/Profile/UserGraph.cs
@@ -76,6 +76,9 @@ namespace osu.Game.Overlays.Profile
base.OnHoverLost(e);
}
+ ///
+ /// Set of values which will be used to create a graph.
+ ///
protected KeyValuePair[] Data
{
set
@@ -99,7 +102,13 @@ namespace osu.Game.Overlays.Profile
ShowGraph();
}
+ ///
+ /// Function used to convert point to it's Y-axis position on the graph.
+ ///
+ /// Value to convert.
+ ///
protected abstract float GetDataPointHeight(TValue value);
+
protected virtual void ShowGraph() => graph.FadeIn(FADE_DURATION, Easing.Out);
protected virtual void HideGraph() => graph.FadeOut(FADE_DURATION, Easing.Out);