Is there a way to produce logarithmic y-axis with chart_Series()
? I am using the experimental chart_Series()
rather than the chartSeries()
method in quantmod
, because it is more convenient when adding additional lines to the plot.
library(quantmod)
POWR <- getSymbols("POWR", auto.assign=FALSE)
# the following attempts did not produce logarithmic axis for y
chart_Series(POWR, log.scale=TRUE) # like in chartSeries()
chart_Series(POWR, log="y") # like in plot.default()
From a quick look into the code, it does not seem to be possible using existing chart_pars()
or chart_theme()
methods for customization, too.
Thank you very much for any help.
chartSeries
code and am stuck on this functionality. has anyone found a way to log scale the axes? plotting the log of the underlying values is not a viable solution – Ethan