title: rAmCharts Scattered plot with Upper and lower confidence interval around Fitted values
body: <p>I am trying to create a Scatter plot with rAmCharts with a Trend line that will also include the Upper and Lower Confidence interval for Fitted values.</p>
  
  <p>Below is my Data along with the underlying Confidence interval :</p>
  
  <pre><code>Data = data.frame(ax = rnorm(50), ay = rnorm(50))
                                              Data = cbind(Data, predict(lm(Data$ay ~ Data$ax - 1), newdata = data.frame(x = Data$ax), interval = 'prediction'))
                                              Data = Data[order(Data$ax), , drop = FALSE]
  </code></pre>
  
  <p>Also, the rAmCharts implementation for above data :</p>
  
  <pre><code>amChart_Plot = amXYChart() %&gt;%
                    setDataProvider(dataProvider = Data, keepNA = TRUE) %&gt;%
                    addGraph(xField = "ax", yField = 'ay', bullet = 'round', lineAlpha = 0, bulletAlpha = 0.8, bulletSize = 15) %&gt;%   
                    addGraph(xField = "ax", yField = 'fit', bullet = 'round', lineAlpha = 0.5, bulletAlpha = 0, linetSize = 45, lineColor = '#d202fc') %&gt;%                                                             
                    setBalloon(cornerRadius = 12, textAlign = "left", maxWidth = 1300)
  
  amChart_Plot@valueAxes = list(list(title = paste('X-Axis', sep = ""), 
                              labelFunction = JS("function(value) {return value+'%';}"), position = 'bottom', titleBold = FALSE),
                              list(title = paste('Y-Axis', sep = ""), 
                              labelFunction = JS("function(value) {return value+'%';}"), position = 'left', titleBold = FALSE))   
  
  amChart_Plot
  </code></pre>
  
  <p>As you see, although I am able to create a Trendline with the Fitted values, however couldnt i<em>nclude the Upper and Lower confidence interval with the Area within that interval can be filled</em>.</p>
  
  <p>I searched over net, however all the examples I have come across is only to add the Trend line.</p>
  
  <p>Any pointer how to fill the Area within the Upper and lower confidence interval for Fitted values will be highly appreciated.</p>