block by ramnathv 7074303

7074303

I modified your code slightly to use the rCharts syntax. You will need to install the dev branch of rCharts from github to run this application.

devtools::install_github("rCharts", "ramnathv", ref = "dev")
shiny::runGist('7074303')

I made three changes to your code:

  1. Replaced library(rHighcharts) with library(rCharts) in both ui.R and server.R
  2. Replaced Line 7 in server.R with a <- Highcharts$new() to make use of rCharts class.
  3. Replaced renderChart with renderChart2 which is a modified version of renderChart and will eventually replace it.

State Pertussis 2002-2011weekly.csv

server.R

ui.R