\HeaderA{chart.Bar}{wrapper for barchart of returns}{chart.Bar}
\keyword{ts}{chart.Bar}
\keyword{multivariate}{chart.Bar}
\keyword{distribution}{chart.Bar}
\keyword{models}{chart.Bar}
\keyword{hplot}{chart.Bar}
\begin{Description}\relax
A wrapper to create a chart of periodic returns in a bar chart.  This is a difficult enough graph to read that it doesn't get much use.  Still, it is useful for viewing a single set of data.
\end{Description}
\begin{Usage}
\begin{verbatim}
    chart.Bar(R, legend.loc = NULL, colorset = (1:12), ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{R}] an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns 
\item[\code{legend.loc}] places a legend into one of nine locations on the chart: bottomright, bottom, bottomleft, left, topleft, top, topright, right, or center 
\item[\code{colorset}] color palette to use, set by default to rational choices 
\item[\code{...}] any other passthru parameters, see \code{plot} 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This is really a wrapper for chart.TimeSeries, so several other attributes can also be passed.
\end{Details}
\begin{Value}
Creates a plot of time on the x-axis and vertical lines for each period to indicate value on the y-axis.
\end{Value}
\begin{Author}\relax
Peter Carl
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{chart.TimeSeries}{chart.TimeSeries}} \\
\code{\LinkA{plot}{plot}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(edhec)
chart.Bar(edhec[,"Funds of Funds"], main="Monthly Returns")
\end{ExampleCode}
\end{Examples}

