JQuery的好散点图插件(包括示例图片)? [英] Good Scatter-plot plugin for JQuery (sample pic included)?

查看:284
本文介绍了JQuery的好散点图插件(包括示例图片)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



我唯一有点奇怪的要求是点有能力变成不同的颜色。除了在X轴上跟踪项目的状态,以及在Y轴上的输入时间,我还想通过实际的颜色来表示它的状态(不要与状态混淆)点。顺便提一句,有5个国家和5个状态。

我在快速Google搜索中发现了一些有前途的,但没有看到指定颜色的能力点(我发现一个让我改变大小,但是)。任何建议任何人都将不胜感激。



下面是我想要的东西,但我认为点将被安排在5个不同的列(基于5个国家)。但它可能有助于可视化。



alt text http:// i50。 tinypic.com/14jrwv7.jpg



谢谢。

解决方案

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


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 http://i50.tinypic.com/14jrwv7.jpg

Thanks.

解决方案

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.

这篇关于JQuery的好散点图插件(包括示例图片)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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