What would you sugges to provide a chart (line-based) on the web? I need to make something similar to a burn-down chart or stocks over time. The server side is django and using jquery for the client stuff.
您建议在网上提供图表(基于行)?随着时间的推移,我需要制作类似于燃尽图表或股票的东西。服务器端是django并使用jquery作为客户端的东西。
What are the advantages to using something like pychart or some other python plot library which can produce an svg or png and display it?
使用像pychart或其他python图库这样可以产生svg或png并显示它的东西有什么好处?
Or providing the data in tables and using visualize or highchart for jquery to make generate the chart using javascript?
或者在表格中提供数据并使用jquery的可视化或高图来使用javascript生成图表?
I would like to put points on the chart which are clickable, or which show more information on the specific turn.
我想在图表上放置可点击的点,或者在特定转弯处显示更多信息。
What options are available with HTML5, does it come with builtin support for charts or do I have to do it with canvas only?
HTML5提供了哪些选项,是否内置了对图表的支持,或者我只能使用画布吗?
Thanks for your help.
谢谢你的帮助。
Edit/Update. Thanks all for the suggestions.
编辑/更新。谢谢大家的建议。
6 个解决方案
#1
6
Client-side charts have the advantage that can be manipulated by the user, but need client-side support for the technology that is used to implement the charts.
客户端图表具有可由用户操纵的优点,但需要客户端支持用于实现图表的技术。
HTML5 charts:
HTML5图表:
- http://www.rgraph.net/
- http://www.rgraph.net/
- jquery's visualize plugin
- jquery的可视化插件
- http://www.jqplot.com/
- http://www.jqplot.com/
- http://thejit.org/
- http://thejit.org/
- http://mbostock.github.com/d3/
- http://mbostock.github.com/d3/
#2
4
After testing many charting tools, we are finally using Highcharts and Emprise JavaScript Chartings. Great Tools, not expensive.
在测试了许多图表工具之后,我们终于使用了Highcharts和Emprise JavaScript Chartings。伟大的工具,不贵。
#3
1
I use pChart. its a charting library for use with PHP, it works very well with mysql and you query the mysql db from inside the pChart code. Other nice ones are Flot and Fusion Charts
我用pChart。它是一个用于PHP的图表库,它与mysql很好地工作,你从pChart代码中查询mysql数据库。其他不错的是Flot和Fusion Charts
#4
1
Try: http://code.google.com/apis/visualization/interactive_charts.html
请尝试:http://code.google.com/apis/visualization/interactive_charts.html
#6
1
Server-side charts generated as PNGs will be fixed in size, not very interactive etc. Client-side charts can stretch, be interactive etc. If you have a fast server you can generate charts with lots of complexity, complex charts on the client may be very slow to display.
生成为PNG的服务器端图表将固定大小,而不是非常具有交互性等。客户端图表可以拉伸,交互等。如果您有快速服务器,您可以生成具有大量复杂性的图表,客户端上的复杂图表可能显示速度很慢。
I favour client-side charts at the moment. I have been using Flot, but am currently wowing over Protovis. drool
我目前支持客户端图表。我一直在使用Flot,但目前我对Protovis感到惊讶。流口水
#1
6
Client-side charts have the advantage that can be manipulated by the user, but need client-side support for the technology that is used to implement the charts.
客户端图表具有可由用户操纵的优点,但需要客户端支持用于实现图表的技术。
HTML5 charts:
HTML5图表:
- http://www.rgraph.net/
- http://www.rgraph.net/
- jquery's visualize plugin
- jquery的可视化插件
- http://www.jqplot.com/
- http://www.jqplot.com/
- http://thejit.org/
- http://thejit.org/
- http://mbostock.github.com/d3/
- http://mbostock.github.com/d3/
#2
4
After testing many charting tools, we are finally using Highcharts and Emprise JavaScript Chartings. Great Tools, not expensive.
在测试了许多图表工具之后,我们终于使用了Highcharts和Emprise JavaScript Chartings。伟大的工具,不贵。
#3
1
I use pChart. its a charting library for use with PHP, it works very well with mysql and you query the mysql db from inside the pChart code. Other nice ones are Flot and Fusion Charts
我用pChart。它是一个用于PHP的图表库,它与mysql很好地工作,你从pChart代码中查询mysql数据库。其他不错的是Flot和Fusion Charts
#4
1
Try: http://code.google.com/apis/visualization/interactive_charts.html
请尝试:http://code.google.com/apis/visualization/interactive_charts.html
#5
#6
1
Server-side charts generated as PNGs will be fixed in size, not very interactive etc. Client-side charts can stretch, be interactive etc. If you have a fast server you can generate charts with lots of complexity, complex charts on the client may be very slow to display.
生成为PNG的服务器端图表将固定大小,而不是非常具有交互性等。客户端图表可以拉伸,交互等。如果您有快速服务器,您可以生成具有大量复杂性的图表,客户端上的复杂图表可能显示速度很慢。
I favour client-side charts at the moment. I have been using Flot, but am currently wowing over Protovis. drool
我目前支持客户端图表。我一直在使用Flot,但目前我对Protovis感到惊讶。流口水