Hi Kurt,

> Please tell me how to format data in a data frame so when currency amount is 
> displayed in a chart the axis tick labels contain leading $ signs.

The easiest way is add a custom scale:
vals <- seq(0, 100, by = 10)
qplot(...) + scale_x_continuous(breaks = vals, labels = paste("$",
vals, sep = ""))

> Please also tell me if it is possible to rotate x axis labels using ggplot2.

Not easily, but there will be in the next version.

Hadley

-- 
http://had.co.nz/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to