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")
Source: stackoverflow.com
Related Articles
- How to use Highcharts theme with rCharts
- rCharts with Highcharts as shiny application
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts 3D with rCharts
- passing formatting JavaScript code to HighCharts with JSON
- Highcharts series visibility with csv data source
- rCharts and highcharts with shiny plot does not update correctly
- Pyramid chart in rCharts with Highcharts
- How to have multiple highcharts with different series data in vuejs without repeating code
- rCharts : Highcharts column with color based on value
- Why code of Horizonal line(y-axis) on a single in Highcharts get applied to all other charts integrated with Webdatarocks
- Highcharts cloud issue with data source when duplicating chart
- Getting numbers on Y-axis to show up as percentages with code from a Highcharts code generator tool?
- Dynamically changing Highcharts Theme through Jquery code not working
- Highcharts code with same set of code/data works in PHP but does not work in JSfiddle
- Reload chart data via JSON with Highcharts
- Highcharts - how to have a chart with dynamic height?
- Resize height with Highcharts
- Styling bar colors in Highcharts with a gradient issue
- How to use highcharts with angular 5?
- Loading Highcharts with require.js
- dealing with highcharts bar chart with really long category names
- Handling unix timestamp with highcharts
- Displaying hours and minutes on x-axis with Highcharts
- Highcharts - Keep Zero Centered on Y-Axis with Negative Values
- Resize data points with highcharts
- How to include highcharts with bower?
- Highcharts doesn't display series with lots of data points
- HighCharts - two Y-axis, one with max value
- how to import highcharts with webpack and babel
- Tooltip in Scatter
- Highcharts Column type visualization: multiple data points for the same Xaxis label
- few line chart's Legend is being display
- Point title in bubble chart (Highcharts)
- How set options from HIGHCHARTS in a chart using vue chartkick
- Highcharts - Add difference between y-points
- Java Script Custom High Chart method
- Highcharts type flags with custom legend icon
- Submit form data to Highcharts addPoint method to dynamically update form
- Highcharts - Export PDF texts as text (and not vectorized shapes)
- Highcharts: how to separate stacked columns on datetime axis
- How to define Histogram categories/intervals
- highcharts multiple line live graph
- HighCharts Organization Nodes Overlapping
- Show empty series in highcharts
- Modify the color of series in highcharts-ng
- Highcharts How To Select Column From Stack
- Plot inside a loop using highcharter
- Auto Update Highcharts with Ajax
- Highcharts stacked column chart 3 level drilldown from JSON