quantmod
quantmod copied to clipboard
Refactor chartSeries() function to be a wrapper for chart_Series() function
chartSeries() function is now a wrapper for chart_Series() function so S4 method and objects, chob
and chobTA
, are deprecated. That means chartSeries.chob() function and chartTA() function are no longer available as well. Since chartSeries() has more detailed arguments than chart_Series(), mostly color settings, main changes are matching the parameters created by chartTheme() function with parameters of chart_theme() function that already exist in plot_object$Env$theme and passing those arguments to the plot object. Minor ticks setting of chartSeries() is different from its default setting in plot.xts() so the action is rewritten to make minor ticks downwards and space for both sides is reserved.