admin管理员组文章数量:1384701
Using the flot library, how can I show the point only when hovering over that spot on the line? I don't want all dots visible all the time..
Similar to how google does it: See the first example: .html
Can't use google since I need to bine multiple chart types. I also like that with google you don't have to hover over the exact point, close enough and the tooltip is triggered as well.
Can flot do this? Or any other libraries?
Edit: these guys appear to be using flot, but I'm not sure how they do it?
Using the flot library, how can I show the point only when hovering over that spot on the line? I don't want all dots visible all the time..
Similar to how google does it: See the first example: http://code.google./apis/chart/interactive/docs/gallery/linechart.html
Can't use google since I need to bine multiple chart types. I also like that with google you don't have to hover over the exact point, close enough and the tooltip is triggered as well.
Can flot do this? Or any other libraries?
Edit: these guys appear to be using flot, but I'm not sure how they do it? https://www.portfolionumbers./tools/risk/report
Share Improve this question edited Dec 15, 2011 at 12:39 asked Dec 15, 2011 at 12:14 user429620user4296201 Answer
Reset to default 6In the option object you can specify something like:
{
series: { lines: { show: true }, points: { show: false } },
grid: { hoverable: true, clickable: false }
}
本文标签: javascriptFlot charting library show points on line chart only on hoverStack Overflow
版权声明:本文标题:javascript - Flot charting library: show points on line chart only on hover? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744538142a2611439.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论