group fix; ohlc fix
This commit is contained in:
parent
ef0d99340a
commit
6f0b8d1d7b
@ -167,7 +167,7 @@ function _plot!(plt::Plot, d::KW, args...)
|
||||
# we simply add the GroupBy object to the front of the args list to allow
|
||||
# the recipe to be applied
|
||||
if haskey(d, :group)
|
||||
args = tuple(extractGroupArgs(d[:group], args...), args...)
|
||||
args = (extractGroupArgs(d[:group], args...), args...)
|
||||
end
|
||||
|
||||
|
||||
|
||||
@ -549,6 +549,7 @@ type OHLC{T<:Real}
|
||||
low::T
|
||||
close::T
|
||||
end
|
||||
Base.convert(::Type{OHLC}, tup::Tuple) = OHLC(tup...)
|
||||
tuple(ohlc::OHLC) = (ohlc.open, ohlc.high, ohlc.low, ohlc.close)
|
||||
|
||||
# get one OHLC path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user