Description Usage Arguments Value
nv barplot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
height |
either a data.frame, vector or matrix of values describing the bars which
make up the plot. If |
space |
bar group spacing (scalar value) |
names.arg |
a vector of names to be plotted below each bar or group of
bars. If this argument is omitted, then the names are taken
from the |
beside |
a logical value. If |
horiz |
a logical value. If |
col |
optional vector of bar component colors |
xlab |
x-axis label |
ylab |
y-axis label |
axes |
if |
axisnames |
if |
xaxt |
set to 'n' to suppress drawing x axis, otherwise plot the x axis. |
yaxt |
set to 'n' to suppress drawing x axis, otherwise plot the x axis. |
rotateLabels |
axis text rotation in degrees |
showControls |
set to |
tickNumFormat |
format numeric tick labels using a d3.format string (d3.js) |
... |
optional additional named plot options passed directly to nvd3.js (see examples) |
An htmlwidget object that is displayed using the object's show or print method.
(If you don't see your widget plot, try printing it with the print
function.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.