Skip to content

Commit

Permalink
maj readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Oct 11, 2023
1 parent 3c81307 commit 6cd40b0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ uPlot(
data = temperatures,
options = list(
title = "Temperatures in 2022 with range from 2018 to 2021",
bands = list(
list(series = c(2, 3), fill = "#8485854D", dir = 1)
),
axes = list(
list(),
list(
Expand All @@ -65,6 +62,7 @@ uPlot(
)
)
) %>%
uBands("low", "high", fill = "#8485854D") %>%
uSeries("temperature", label = "Temperature (°C)", stroke = "red", width = 2) %>%
uSeries("low", label = "Low", stroke = "#848585", dash = c(8, 2)) %>%
uSeries("high", label = "High", stroke = "#848585", dash = c(8, 2)) %>%
Expand All @@ -79,10 +77,6 @@ uPlot(
data = temperatures[, c(1, 2, 5)],
options = list(
title = "Temperatures in 2022 compared to average from previous years",
bands = list(
list(series = c(1, 2), fill = "#F681804D"),
list(series = c(2, 1), fill = "#2F64FF4D")
),
axes = list(
list(),
list(
Expand All @@ -92,6 +86,8 @@ uPlot(
)
)
) %>%
uBands("temperature", "average", fill = "#F681804D") %>%
uBands("average", "temperature", fill = "#2F64FF4D") %>%
uSeries(
name = "temperature",
label = "Temperature 2022",
Expand Down

0 comments on commit 6cd40b0

Please sign in to comment.