RangerWolf
V2EX  ›  问与答

求助: 如何在svg元素上显示tooltip?

  •  
  •   RangerWolf · Feb 10, 2014 · 4798 views
    This topic created in 4475 days ago, the information mentioned may be changed or developed.
    已经使用bootstrap3.0.3构建网页。 折线图以及背景框框是用svg纯手工画出来的。
    我想在下面的截图之中的圆点显示tooltip 一直不成功。google了也没什么收获。

    实在搞不定了,上来问问大神们看看有什么办法?
    截图: http://doubanvideo-doubanvideoimg.stor.sinaapp.com/linechart.png

    项目里面我已经引入了d3
    1 replies    1970-01-01 08:00:00 +08:00
    P233
        1
    P233  
       Feb 10, 2014
    body 做 container

    这个我写过, svg 元素可以用 bootstrap tooltip
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5630 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 07:29 · PVG 15:29 · LAX 00:29 · JFK 03:29
    ♥ Do have faith in what you're doing.