Blame | Letzte Änderung | Log anzeigen | RSS feed
<!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.8.2/jquery.min.js"></script><style type="text/css">${demo.css}</style><script type="text/javascript">$(function () {$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=usdeur.json&callback=?', function (data) {// Create the chart$('#container').highcharts('StockChart', {rangeSelector : {selected : 0},title : {text : 'USD to EUR exchange rate'},tooltip: {style: {width: '200px'},valueDecimals: 4,shared : true},yAxis : {title : {text : 'Exchange rate'}},series : [{name : 'USD to EUR',data : data,id : 'dataseries'// the event marker flags}, {type : 'flags',data : [{x : Date.UTC(2015, 5, 8),title : 'C',text : 'Stocks fall on Greece, rate concerns; US dollar dips'}, {x : Date.UTC(2015, 5, 12),title : 'D',text : 'Zimbabwe ditches \'worthless\' currency for the US dollar '}, {x : Date.UTC(2015, 5, 19),title : 'E',text : 'US Dollar Declines Over the Week on Rate Timeline'}, {x : Date.UTC(2015, 5, 26),title : 'F',text : 'Greek Negotiations Take Sharp Turn for Worse, US Dollar set to Rally '}, {x : Date.UTC(2015, 5, 29),title : 'G',text : 'Euro records stunning reversal against dollar'}, {x : Date.UTC(2015, 5, 30),title : 'H',text : 'Surging US dollar curbs global IT spend'}],onSeries : 'dataseries',shape : 'circlepin',width : 16}]});});});</script></head><body><script src="../../js/highstock.js"></script><script src="../../js/modules/exporting.js"></script><div id="container" style="height: 400px; min-width: 310px"></div></body></html>