library(taucharts)
knitr::opts_chunk$set(echo = FALSE)
testdata <- data.frame(date = seq(as.Date("2016-02-29") - 300, Sys.Date(), by = "day"), val = rnorm(43))

Tabs {.tabset}

Tab One

tauchart(testdata) %>%
  tau_line("date", "val") %>%
  tau_guide_x(tick_format = "%b-%y")

Tab Two (test rescalaing issue)

tauchart(testdata) %>%
  tau_line("date", "val") %>%
  tau_guide_x(tick_format = "%b-%y")

Adjust viz size with chunk settings

Super Small

tauchart(testdata) %>%
  tau_line("date", "val") %>%
  tau_guide_x(tick_format = "%b-%y")

Super big

tauchart(testdata) %>%
  tau_line("date", "val") %>%
  tau_guide_x(tick_format = "%b-%y")


hrbrmstr/taucharts documentation built on May 17, 2019, 5:14 p.m.