jQuery 图表
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1201098/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
jQuery Charting
提问by user146584
Can anybody suggest nice cross browser jQueryAPIpluginfor developing Chart application
任何人都可以建议用于开发图表应用程序的不错的跨浏览器jQuery API插件
except like filamentgroup.com.
除了像 filamentgroup.com。
The API should be customizible.I want to integrate it in ASP.NET. (ofcourse ASP.NET 3.5 comes with inbuilt Chart control,I want some nice jQuery Plugins).
API 应该是可定制的。我想将它集成到ASP.NET 中。(当然 ASP.NET 3.5 带有内置的 Chart 控件,我想要一些不错的 jQuery 插件)。
回答by brianng
回答by Deepak Kumar Vasudevan
I am surprised that no one has mentioned HighCharts.
我很惊讶没有人提到 HighCharts。
Highchartsis a comprehensive library of Javascript charting based on Jquery.
Highcharts是一个基于 Jquery 的 Javascript 图表综合库。
回答by dbr
One option is jquery-visualize, which graphs data from a regular HTML table, so it degrades nicely without javascript
一种选择是jquery-visualize,它绘制来自常规 HTML 表的数据,因此它在没有 javascript 的情况下可以很好地降级
Some examples, and an article about it:
Accessible data visualization in HTML has always been tricky to achieve, particularly because elements such as images allow only the most basic features for providing textual information to non-visual users. A while back, we wrote an article describing a technique we came up with to use JavaScript to scrape data from an HTML table and generate charts using the HTML 5 Canvas element. The technique is particularly useful because the data for the visualization already exists in the page in structured tabular format, making it accessible to people who browse the web with a screen reader or other assistive technology.
HTML 中的可访问数据可视化一直很难实现,特别是因为图像等元素只允许最基本的功能向非视觉用户提供文本信息。不久前,我们写了一篇文章,描述了我们提出的一项技术,即使用 JavaScript 从 HTML 表格中抓取数据并使用 HTML 5 Canvas 元素生成图表。该技术特别有用,因为用于可视化的数据已经以结构化表格格式存在于页面中,使使用屏幕阅读器或其他辅助技术浏览网页的人可以访问。
回答by Nosredna
I've used Flot. It's open source using the MIT license, so you can do what you like to the API.
我用过Flot。它是使用 MIT 许可证的开源软件,因此您可以对 API 做任何您喜欢的事情。
As for cross browser, I used it under all the major browers. There was a bug with Opera on filled charts, but that was an Opera canvas bug and it was fixed over a year ago. For IE, flot uses excanvas.
至于跨浏览器,我在各大浏览器下都用过。Opera 在填充图表上存在一个错误,但这是一个 Opera 画布错误,一年多前已修复。对于 IE,flot 使用 excanvas。
回答by Dimitar Ivanov
Zino UI Chartsis a jQuery charting library
Zino UI Charts是一个 jQuery 图表库
- 15+ chart types (line, area, bar, column, pie, donut, spline, stepline, bubble, scatter, candlestick, ohlc, polar, radar, wind rose)
- cross browser
- supports SVG and HTML5 Canvas
- PHP server-wrappers
- GPL license
- 15 多种图表类型(线、面积、条形、柱形、饼形、甜甜圈、样条、阶梯线、气泡、散点、烛台、ohlc、极坐标、雷达、风玫瑰)
- 跨浏览器
- 支持 SVG 和 HTML5 画布
- PHP 服务器包装器
- GPL 许可证
回答by katherine heigl
I use shieldui chart. It is very powerful and they have ASP.NET wrapper.
我使用shieldui 图表。它非常强大,并且具有 ASP.NET 包装器。
回答by Michel Ayres
I think, the best is jQuery Flot charts, he has a good documentation(could be better)and even an amazing tutorial site(that I think is better to understand and use. the Flot chart)
我认为,最好的是jQuery Flot charts,他有一个很好的文档(可能会更好),甚至还有一个很棒的教程网站(我认为更好地理解和使用。Flot 图表)
Also, he has over 1.2K questions on SO. And plugins like the one for Zoom/Navigationand tons of others pluginsfor it
此外,他对 SO有超过1.2K 的问题。和插件,像一个放大/导航和大量的其他插件吧
Highchartsis a great option too, with an excellent documentationand demopages.
Highcharts也是一个不错的选择,具有出色的文档和演示页面。
I don't like the Sparklinesthat much, but is a good and "easy to use" plugin.
我不太喜欢Sparklines,但它是一个很好且“易于使用”的插件。
And you can always take a look at the jQuery site page of plugins for graphics
您可以随时查看图形插件的 jQuery 站点页面
Where you can always take a look in the latest list with votes and stuff.
您可以随时查看带有投票和内容的最新列表。