title: How to apply color stops in highcharter?
body: <p>I am trying to apply this highchart demo into R: <a href="https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/line-time-series" rel="nofollow noreferrer">https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/line-time-series</a></p>
  <p>I got most of it to work, my issue is I am not sure how to apply the color argument for the fill gradient.</p>
  <p>Here's my code:</p>
  <pre><code>library(quantmod)
  library(highcharter)
  
  df = getSymbols(&quot;SPY&quot;, from = &quot;2021-05-01&quot;, auto.assign = F)
  
  highchart() %&gt;%
    hc_chart(
      type = &quot;container&quot;, zoomType = &quot;x&quot;) %&gt;%
    hc_plotOptions(
      area = list(
        fillColor = list(
          linearGradient = list(
            x1 = 0,
            y1 = 0,
            x2 = 0,
            y2 = 0
          )
        )
      ),
      marker = list(
        radius = 2
      ),
      lineWidth = 1,
      states = list(
        hover = list(
          lineWidth = 1
        )
      ),
      threshold = NULL
    ) %&gt;%
    hc_add_series(type = &quot;area&quot;, name = &quot;test&quot;, data = df$SPY.Close) %&gt;%
    hc_legend(enabled = FALSE) %&gt;%
    hc_xAxis(type = &quot;datetime&quot;) 
  </code></pre>
  <p>Here's what my chart looks like:
  <a href="https://i.stack.imgur.com/7Q9ig.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Q9ig.png" alt="enter image description here" /></a></p>
  <p>Any help is appreciated!</p>