好的 JQuery 散点图插件(包括示例图片)?

发布于 2024-08-22 00:59:07 字数 504 浏览 1 评论 0原文

我正在寻找一个可靠的 JQuery 图形插件,它可以为我的网站提供有吸引力的散点图。我真的不需要很多花哨的功能——只需要根据我给出的 X 轴和 Y 轴值在图表上绘制点的能力。

我唯一有点特殊的要求是这些点能够呈现不同的颜色。除了跟踪 X 轴上的项目“状态”和 Y 轴上的“输入时间”之外,我还想通过实际颜色来表示它的“状态”(不要与“状态”混淆)点。顺便说一句,有 5 个状态和 5 个状态。

我在谷歌快速搜索中发现了一些有前途的功能,但没有看到指定点颜色的功能(不过,我找到了一个可以让我更改大小的功能)。任何人提出的任何建议将不胜感激。

下面是我想要的,但我认为这些点会更清晰地排列在 5 个不同的列中(基于 5 个州)。但它可能有助于可视化。

替代文本

谢谢。

I'm looking for a solid graphing plugin for JQuery that can give me an attractive scatterplot for use on my site. I really don't need a lot of fancy functionality -- just the ability to plot points on a graph based on the X-axis and Y-axis values I give it.

The only somewhat peculiar requirement I have is that the dots have the ability to be different colors. In addition to tracking the item's "State" on the X-Axis, and it's "Input Time" on the Y-Axix, I want to represent it's "Status" (not to be confused with "State") by the actual color of the dot. Incidentally, there are 5 States, and 5 Statuses.

I found a couple of promising ones in a quick Google search, but didn't see the ability to specify the color of the dot (I found one that let me change the size, however). Any suggestions anyone has would be greatly appreciated.

Below is kind of what I'm going for, but I think the dots would be arranged more cleanly in 5 distinct columns (based on the 5 States). But it might help with visualization.

alt text

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

┾廆蒐ゝ 2024-08-29 00:59:07

FLOT 是一个非常好的图表插件。它并不特别支持散点图(据我所知),但它确实支持 点图。请查看使用页面,了解有关如何使用它来创建的一些示例分散。

FLOT is a really nice charting plugin. It doesn't specifically support scatter charts (to my knowledge) but it does support point charts. Check out the usage page for some examples on how it has been used to create scatters.

意中人 2024-08-29 00:59:07

我个人喜欢这个:

http://omnipot.net/jquery.sparkline/

看看这是否是对你来说足够了。它不会变得更容易和更舒适。

[主页上有很多示例:)]

Personally I love this:

http://omnipotent.net/jquery.sparkline/

See if this is enough for You. It won't get easier and more comfortable.

[and it has lots of samples on main page :)]

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文