From 1b52e59ac07b1244064660935a95e95a3dc80471 Mon Sep 17 00:00:00 2001 From: Florian Raab <florian.raab@student.uni-halle.de> Date: Sun, 5 Jan 2025 17:41:10 +0100 Subject: [PATCH] LinePlot: add axis labels --- src/Views/LinePlot.elm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Views/LinePlot.elm b/src/Views/LinePlot.elm index 43c279c..66aba0c 100644 --- a/src/Views/LinePlot.elm +++ b/src/Views/LinePlot.elm @@ -374,7 +374,19 @@ view global model = ] ] ] + , div [ Html.Attributes.style "font-size" "12px" + , Html.Attributes.style "margin-left" "4rem" + , Html.Attributes.style "margin-bottom" "-1rem" + , Html.Attributes.style "margin-top" "1rem" ] + [ Html.text "Number of Visas"] + , chart dataLines + + , div [ Html.Attributes.style "font-size" "12px" + , Html.Attributes.style "margin" "auto" + , Html.Attributes.style "margin-top" "-2rem" + , Html.Attributes.style "margin-bottom" "1rem" ] + [ Html.text "Years"] , div [ Html.Attributes.style "display" "flex" , Html.Attributes.style "flex-direction" "row" , Html.Attributes.style "gap" "4px" -- GitLab