demo/ts-ex.R

highchart() %>% 
  hc_title(text = "Monthly Airline Passenger Numbers 1949-1960") %>% 
  hc_subtitle(text = "The classic Box and Jenkins airline data") %>% 
  hc_xAxis(type = "datetime") %>% 
  hc_add_series(AirPassengers, name = "passengers") %>%
  hc_tooltip(pointFormat =  '{point.y} passengers')

hchart(cbind(fdeaths, mdeaths), separate = FALSE)

Try the highcharter package in your browser

Any scripts or data that you put into this service are public.

highcharter documentation built on May 30, 2017, 1:47 a.m.