Are there any good client-side stock charting libraries out there? [closed]

左心房为你撑大大i 提交于 2020-01-20 18:49:25

问题


I would like to display interactive financial stock charts on a website, something like Google or Yahoo finance. I saw some recommendations on this thread looking for stock charting component but many of the suggestions are commercial, or require silverlight to be installed.

Can anyone recommend any decent Javascript client side libraries to do this? If they're free, even nicer


回答1:


How about using Google charts itself. See an example or even play around with it.

Though this has one drawback - you cannot use it offline. See FAQ's for detail.

Google's Annotated Time Line probably would meet your needs.

You may want to explore dygraphs as well. It's open source and looks pretty powerful.




回答2:


http://www.highcharts.com/ is free for non-commercial use.

http://g.raphaeljs.com/ is completely free, based on the Raphael library, but comes with no documentation so you'll need to read through the source code of the examples.




回答3:


So... what's wrong with commercial? I use commercial stuff all the time, because for larger projects, I have somebody to yell at when things don't work.

To that end, my recommendation for charting without plugins is always highcharts. I have yet yo see anything else that approaches it for power, flexibility, but most important... something that works well out of the box (unlike, say Plotr or Raphaeljs).



来源:https://stackoverflow.com/questions/6078785/are-there-any-good-client-side-stock-charting-libraries-out-there

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!