You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that this is similar to #205. add_TA() and add_Series() have a legend argument to set the name. I'm going to update this fix to remove the name argument it added and make the fix using the legend argument.
I changed my mind. I tried to pass user-supplied 'legend' values through the plotting functions, but it didn't work seamlessly like it does when passing the 'name' argument. So I'm keeping this fix instead of doing what I said in my previous comment.
The 'legend' argument only supported the "auto" value. I tried to pass
user-supplied 'legend' values through the plotting functions, but it
didn't work seamlessly like it does when passing the 'name' argument.
Move the 'name' argument to the location of the 'legend' argument to
handle the case where the user explicitly provided "auto" as an unnamed
value for the 'legend' argument. For example:
add_TA(x, NULL, NA, "auto")
See #377.
Description
It would be nice to have a
name
argument in add_TA function (instead oflenv$name <- deparse(substitute(x))
).Expected behavior
Instead of using
lenv$name <- deparse(substitute(x))
function argumentname
(if set, not NULL) would be used.Minimal, reproducible example
[Insert your sessionInfo() output]
The text was updated successfully, but these errors were encountered: