title: R highcharter plot points color based on value
body: <p>I am new to highcharts and R highcharter.
  I have a dataframe like this </p>
  
  <pre><code>tmp &lt;- data.frame(x = 1:5, y = rnorm(5), color = c("green", "red", "green", "orange", "red"))
  # x       y  color
  # 1  0.4421  green
  # 2 -0.8924    red
  # 3  0.8264  green
  # 4  0.6695 orange
  # 5 -0.0966    red
  </code></pre>
  
  <p>I want to draw it using highcharter.
  <a href="https://i.stack.imgur.com/BXQLu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BXQLu.png" alt="enter image description here"></a></p>
  
  <p>For the point color, I want to make the point color to be the corresponding color in the data frame. </p>
  
  <p>What should I do? 
  Even though it is R codes, any solutions in JS would be appreciate it because I can rewrite it in R. </p>