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
|
# we simply add the GroupBy object to the front of the args list to allow
|
||||||
# the recipe to be applied
|
# the recipe to be applied
|
||||||
if haskey(d, :group)
|
if haskey(d, :group)
|
||||||
args = tuple(extractGroupArgs(d[:group], args...), args...)
|
args = (extractGroupArgs(d[:group], args...), args...)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -549,6 +549,7 @@ type OHLC{T<:Real}
|
|||||||
low::T
|
low::T
|
||||||
close::T
|
close::T
|
||||||
end
|
end
|
||||||
|
Base.convert(::Type{OHLC}, tup::Tuple) = OHLC(tup...)
|
||||||
tuple(ohlc::OHLC) = (ohlc.open, ohlc.high, ohlc.low, ohlc.close)
|
tuple(ohlc::OHLC) = (ohlc.open, ohlc.high, ohlc.low, ohlc.close)
|
||||||
|
|
||||||
# get one OHLC path
|
# get one OHLC path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user