-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Combine axTicksByTime2() and axTicksByTime()
axTicksByTime() has long been exported from xts, so its behavior is maintained as closely as possible. axTicksByTime2() came from the port of quantmod::chart_Series() to plot.xts(). Add millisecond and microsecond tick.opts, both with tick.k.opts of 1. Also avoid calls to strsplit() to get the arguments for the endpoints() call, and when calculating 'cl' and 'ck'. Move tick.k.opts definition closer to its use. Make sure 'lt' is less than or equal to the number of observations. Fixes #74.
- Loading branch information
1 parent
6da7280
commit e55685b
Showing
2 changed files
with
13 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters