Created
October 3, 2021 15:24
-
-
Save vnegi10/0b94ad2ef162b8d777a33c7972485091 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df_pedometer_filter |> @vlplot("mark"={:area, "line" = {"color" = "seagreen"}, | |
"color"={"x1"=1, "y1"=1, "x2"=1, "y2"=0, | |
"gradient"=:linear, "stops" = [ | |
{"offset"=0, "color"="white"}, | |
{"offset"=1, "color"="green"}]}}, | |
x = {:create_time, "axis" = {"title" = "Time", "labelFontSize" = 12, "titleFontSize" = 14}, "type" = "temporal"}, | |
y = {:step_count, "axis" = {"title" = "Daily steps", "labelFontSize" = 12, "titleFontSize" = 14 }}, | |
width = 750, height = 500, | |
"title" = {"text" = "Daily steps from $(Date.(start_date)) to $(Date.(end_date))", "fontSize" = 16}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment