Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Scatterplot hover sometimes does not display values for certain columns #218

Open
dseynaev opened this issue Jun 22, 2017 · 1 comment
Open

Comments

@dseynaev
Copy link

The following works correctly for me:
rbokeh::ly_points(figure(), a, b, data.frame(a = c(1,2), b = c(3,4)), hover = "@a and @b")

Curiously this does not:
rbokeh::ly_points(figure(), a, ab, data.frame(a = c(1,2), ab = c(3,4)), hover = "@a and @ab")

The value shows up as '???'

I suspect that names collide when one of them starts with another as a substring.

R 3.3.3, rbokeh_0.5.0 rj_2.1.0-11, Firefox 54.0 Ubuntu 16.04

@dseynaev dseynaev changed the title Scatterpoint hover sometimes does not display values for certain columns Scatterplot hover sometimes does not display values for certain columns Jun 22, 2017
@dseynaev
Copy link
Author

This also seems to work (changed the order of appearance in the hover template):
rbokeh::ly_points(figure(), a, ab, data.frame(a = c(1,2), ab = c(3,4)), hover = "@ab and @a")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant