Skip to content

Commit

Permalink
update docs to reflect need to specify charting library in ui.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnathv committed Apr 15, 2013
1 parent eeef304 commit 5d6e8e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ Let us design the user interface first. Note that we need four components, two s

```{r eval = F}
require(rCharts)
options(RCHART_LIB = 'polycharts')
shinyUI(pageWithSidebar(
headerPanel("Percentage of Employed who are Senior Managers, by Sex"),
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ <h4>User Interface (ui.R)</h4>
<p>Let us design the user interface first. Note that we need four components, two select boxes to allow the user to select the year and country, and two <code>div</code> tags to place the dynamically generated chart output.</p>

<pre><code class="r">require(rCharts)
options(RCHART_LIB = &#39;polycharts&#39;)
shinyUI(pageWithSidebar(
headerPanel(&quot;Percentage of Employed who are Senior Managers, by Sex&quot;),

Expand Down
1 change: 1 addition & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ Let us design the user interface first. Note that we need four components, two s

```r
require(rCharts)
options(RCHART_LIB = 'polycharts')
shinyUI(pageWithSidebar(
headerPanel("Percentage of Employed who are Senior Managers, by Sex"),

Expand Down

0 comments on commit 5d6e8e9

Please sign in to comment.