1
我下面来构建一个漏斗图的方法,概括这里:http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/funnel/Highcharts漏斗图构造
不过,我得到了一个问题:
highstock.js:395 Uncaught TypeError: Cannot read property 'options' of undefined
林通过一个构造使得图如下:
<script>
new Highcharts.StockChart({"chart": {"type": "funnel", "renderTo":
"currentUserBase"}, "series": [{"data": [["shadow", 3485],
["requested_waitlist", 76], ["waitlisted", 469], ["invited", 68], ["waiting_for_account", 26], ["active", 428]], "name": "Value"}],
"title": {"text": ""}, "legend": {"enabled": true}});
</script>
图表只是不出现,我不明白为什么它不工作。我试过编辑原始的jsfiddle,也无法工作。另外,即时通讯使用highstock,因为我需要时间序列图,并且我读到highstock也可以用于普通图。
任何人有任何想法? :)