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
Thank you for such a useful and user-friendly package!
I recently tried to use plotly for a ggplot2 object that had geom_label(). I received a warning message that geom_label() has yet to be implemented in plotly, and to post an example code here for any geom that may be useful to be implemented.
The static myPlot object itself has five labels, labeled as "label1", "label2", "label3", "label4", and "label5" with x values of 10, 20, 30, 40, and 50. I was aiming for the last line to allow the interactive tooltip to show the label and x values for each of the five labels. Instead, it seems, upon running the last line, that the geom_labels disappear, and upon hovering over, the interactivity is on the values at the corners of the edges from the geom_segment().
I just wanted to post it here in case it is of something of interest to the developers or others. Thank you!
The text was updated successfully, but these errors were encountered:
adding support for geom_label (the duplicate page is locked)
I find geom_label very convenient in ggplot and would find it just as useful if it were available in ggplotly, as it makes geom_hline and geom_vlines easily labelable/readable, with nice text balloons and masking.
Thank you for such a useful and user-friendly package!
I recently tried to use plotly for a ggplot2 object that had geom_label(). I received a warning message that geom_label() has yet to be implemented in plotly, and to post an example code here for any geom that may be useful to be implemented.
The static myPlot object itself has five labels, labeled as "label1", "label2", "label3", "label4", and "label5" with x values of 10, 20, 30, 40, and 50. I was aiming for the last line to allow the interactive tooltip to show the label and x values for each of the five labels. Instead, it seems, upon running the last line, that the geom_labels disappear, and upon hovering over, the interactivity is on the values at the corners of the edges from the geom_segment().
I just wanted to post it here in case it is of something of interest to the developers or others. Thank you!
The text was updated successfully, but these errors were encountered: