有浮动工具提示的Flot的任何示例? [英] Any examples of Flot with floating tooltips?

查看:75
本文介绍了有浮动工具提示的Flot的任何示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在制作 Flot 图表, API 整体上看起来非常强大,尽管高级用途的例子没有被广泛记录。

I am currently working on a Flot graph, the API which seems pretty powerful overall, although examples of advanced use are not widely documented.

API建议有一些方法可以在图表上设置hoverable,而不是我确定究竟是什么意思我可以用它来做。

The API suggests there are ways to set hoverable on the graph, not that I am sure what exactly that means I can do with it.

我想知道是否有人可以提供他们遇到过的一些例子,或代表这方面的代码,它们展示了以下任何一个例子:

I would like to know if anyone could contribute some examples that they have come across, or code for that matter, which demonstrate examples of any of the following:


  • 将鼠标悬停在Flot图表元素上的事件触发的动态工具提示

  • 勾选工具提示(悬停在xaxis上显示详细信息)

  • 任何类型的悬停在/动态事件绑定已使用w Flot

我正在寻找的效果类似于这个 Open Flash Chart示例

The effect I am looking for is similar to this Open Flash Chart example

推荐答案

查看这个flot示例演示了图表上绘图点的工具提示。 (确保选中启用工具提示复选框。)

Have a look at this flot example which demonstrates tooltips for plot points on the chart. (Make sure you select the Enable tooltip checkbox.)

这篇关于有浮动工具提示的Flot的任何示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆