0
我正在尝试使用Dygraphs从Yahoo Finance获取的历史股票信息创建图表。是否可以使用Dygraphs绘制来自此网页的数据?
我想作为数据源使用的URL是: http://ichart.finance.yahoo.com/table.csv?s=UL.PA&a=08&b=7&c=1984&d=01&e=24&f=2014&g=d&ignore=.csv
当我包括我的HTML文件下面的代码,我没有得到任何错误消息萤火虫。但图表是空的。
任何人都可以帮我解释我做错了什么吗?
<div id="graphdiv"></div>
<script type="text/javascript">
g = new Dygraph(document.getElementById("graphdiv"),"http://ichart.finance.yahoo.com/table.csv?s=UL.PA&a=08&b=7&c=1984&d=01&e=24&f=2014&g=d&ignore=.csv",{});
</script>
LC