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'm thinking about how to do this and I'm wondering ... can plotly shapes can have legend entries?
If not, then we will run into problems, since geom_hline and geom_vline can generate legends in ggplot2. In this case we should keep these as traces of mode "lines" which will result in plotly legends.
Activity
chriddyp commentedon Mar 13, 2015
yeah, definitely! the nice thing about shapes is that we can use paper coordinates, so that they can span the entire plot
tdhock commentedon Mar 31, 2015
I'm thinking about how to do this and I'm wondering ... can plotly shapes can have legend entries?
If not, then we will run into problems, since geom_hline and geom_vline can generate legends in ggplot2. In this case we should keep these as traces of mode "lines" which will result in plotly legends.
tdhock commentedon Mar 31, 2015
@alexcjohnson can plotly shapes can have legend entries?
cpsievert commentedon Dec 12, 2015
In #269 I've implemented hline/vline/abline as paths