跪求高手:
最近做项目用到图表 选择了 Highstock-1.1.0 版本中得列子
- HTML code
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Highstock Example</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <script type="text/javascript"> $(function() { $.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=usdeur.json&callback=?', function(data) { document.getElementById("h").value=data; // Create the chart window.chart = new Highcharts.StockChart({ chart : { renderTo : 'container' }, rangeSelector : { selected : 1 }, title : { text : '图表分析' }, yAxis : { title : { text : 'Exchange rate' }, max:1, min:0, plotLines : [{ value : 0.2, color : 'green', dashStyle : 'shortdash', width : 2, label : { text : '下限(0.2)' } }, { value : 0.7, color : 'red', dashStyle : 'shortdash', width : 2, label : { text : '上限(0.6)' } }] }, series : [{ name : 'USD to EUR', data : data, tooltip : { yDecimals : 4 } }] }); }); }); </script> </head> <body> <script type="text/javascript" src="../../js/highstock.src.js"></script> <div id="container" style="height: 500px; min-width: 500px"></div> <input type="text" name="h" id="h" value=""> </body> </html>
不知道 data 这个返回值[ 1064361600000,0.8709,1064448000000,0.872,1064534400000,0.8714,………………
还有很多,前面的1064361600000 -----1064448000000 等代表什么意思??
------解决方案--------------------
像素颜色值。
------解决方案--------------------
接分。。。
------解决方案--------------------
有没有大侠看一下我的帖子,我有关于highcharts的问题没有解决。
http://topic.csdn.net/u/20120205/23/34015811-a4e7-4b05-a85e-cb3f6b6c428c.html