r - How to use Highcharts theme with rCharts -
i want create own theme highcharts use them rcharts on shiny app. i've tried add link theme scrip adding tags$head( tags$script(type="text/javascript", src = "js/themes/gray.js") )
to ui.r. doesn't work. should call theme directly rcharts function?
you need have required script in app directory:
you can put directly in app directory , use includescript("gray.js")
or place in www
folder , use tags$head( tags$script(type="text/javascript", src = "gray.js") )
. scripts can found on highcharts github page https://github.com/highslide-software/highcharts.com/blob/master/js/themes/gray.js . have included example https://gist.github.com/johndharrison/bc1440afad69433f5e61 . can run calling:
rungist("bc1440afad69433f5e61")
Comments
Post a Comment