用于制作“实时图表”的 PHP / AJAX 工具包(例如用于追踪股票价格)
我如何(从来源获得正确的股票价格后)将其显示在“实时图表”上。我正在寻找一个 php/ajax 工具包,可以让我实时创建该图表?
这是正确的使用方式还是基于闪存的解决方案更好?
是否有第三方网站可以根据输入数据创建实时图表?
how do i (after getting the right stock prices from a source) show it on a "live graph". i'm looking for a php/ajax toolkit that allows me to create that graph live?
is that the right thing to use or a flash based solution is better?
are there 3rdparty sites that offer to create live graphs given input data?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Highcharts 可能就是您所需要的。
我最近开始了一个新项目,以简化使用 php 时的图表构建:
http://aloiroberto.wordpress.com/2010/02/04/highcharts-php-library/
另外,Google Charts 或 Open Flash Chart 是具体的可能性(后者需要 Flash)。
Highcharts is probably what you need.
I recently started a new project to simplify the construction of a graph when using php:
http://aloiroberto.wordpress.com/2010/02/04/highcharts-php-library/
Also, Google Charts or Open Flash Chart are concrete possibilities (the latter will require Flash).
你可以看看JPGRAPH。它是一个很棒的库,用于创建各种图表。
就ajax而言,该库将图形输出为图片文件,因此您可以轻松地使用ajax发送所需的参数并使用ajax动态构建图形。
you can have a look at JPGRAPH. It is a wonderful library for creating wide variety of graphs.
As far as ajax is concerned this library outputs the graph as a picture file, so you can easily send the required parameters using ajax and build the graph dynamically using ajax.
PHPlot 也是一个免费库:http://phplot.sourceforge.net,但与 JPGraph 相比,它相当有限。它还提供一张图片,以便您可以通过 AJAX 抓取并显示它。
PHPlot also is a free library: http://phplot.sourceforge.net, but compared to JPGraph it's rather limited. It also delivers a picture so you could grab that via AJAX and display it.
Birdeye 拥有一些极其强大的绘图工具。请查看 Birdeye Explorer 以了解你可以用它做什么。
Birdeye has some incredibly powerful graphing tools. Check out the Birdeye Explorer to get a sense of what you can do with it.