Interactive point labels with gridSVG and ggplot2 v.0.9.0

前端 未结 4 718
我在风中等你
我在风中等你 2021-02-02 15:50

I\'d like to label points in a ggplot interactively, so that mousing over a point shows a label.

I\'m trying to adapt the answer given in this question so that it works

4条回答
  •  [愿得一人]
    2021-02-02 16:25

    We solved this by detecting the color attribute in the produced .svg and using css to detect mouseover. Results are visible in steps 4,5,6 of this demo:

    Showing svg highlighting using css

    This is my first stackoverflow response - hope I got the etiquette right

提交回复
热议问题