Ustaw kolor tła obszaru wykresu w rCharts / slidify / nvd3

Dla następującego pokładu przesuwnego,

---
title       : Foo
framework   : revealjs        # {io2012, html5slides, shower, dzslides, ...}
revealjs    : {theme: solarized}
highlighter : highlight.js  # {highlight.js, prettify, highlight}
hitheme     : tomorrow      # 
widgets     : []            # {mathjax, quiz, bootstrap}
mode        : selfcontained # {standalone, draft}
ext_widgets : [libraries/nvd3]
---
## NVD3 Plot Iframe
```{r nvd3plot2, results = 'asis', comment = NA, message = F, echo = F} 
require(rCharts)
n1 <- nPlot(mpg ~ wt, data = mtcars, type = 'scatterChart')
n1
```

Chcę ustawić kolor tła wykresu na biały.

Mogę to zrobić, jeśli zrobię to na drutach, a następnie edytuję<style> blok w wygenerowanymfigure/nvd3plot2.html dodaćbackground-color: white;:

<style>
.rChart {
  display: block;
  margin-left: auto; 
  margin-right: auto;
  width: 800px;
  height: 400px;
  background-color: white;
}  
</style>

Jak to zrobić z pliku .Rmd?

questionAnswers(1)

yourAnswerToTheQuestion