score:2

Accepted answer

You need to have the required script in your app directory:

You can put it directly in your app directory and use includeScript("gray.js") or place it in the www folder and use tags$head( tags$script(type="text/javascript", src = "gray.js") ). The scripts can be found on the highcharts github page https://github.com/highslide-software/highcharts.com/blob/master/js/themes/gray.js . I have included an example https://gist.github.com/johndharrison/bc1440afad69433f5e61 . You can run it by calling:

runGist("bc1440afad69433f5e61")

enter image description here


Related Articles