$(document).ready(function () { chart = new Highcharts.StockChart({ chart: { renderTo: 'chart', type: 'line', animation: false, showAxes: true, height: 500 }, xAxis: { ordinal: false, type: 'datetime', showEmpty: true, gridLineWidth: 1, gridLineDashStyle: 'dot', ordinal: false }, yAxis: { title: {text: 'Курс SEK, грн'}, lineWidth: 3, gridLineWidth: 1, gridLineDashStyle: 'dash', ordinal: false }, plotOptions: { series: {connectNulls: true, shadow: false}, spline: {marker: {enabled: true}} }, tooltip: {valueDecimals: 8, xDateFormat: '%d %b %Y', shared: true}, series: [ { name: 'Курс SEK', data: [[1343779200000,1.17461],[1343865600000,1.18162],[1343952000000,1.18408],[1344038400000,1.1821],[1344124800000,1.1821],[1344211200000,1.1821],[1344297600000,1.18638],[1344384000000,1.19444],[1344470400000,1.19127],[1344556800000,1.18934],[1344643200000,1.19413],[1344729600000,1.19413],[1344816000000,1.19413],[1344902400000,1.19819],[1344988800000,1.19697],[1345075200000,1.19297],[1345161600000,1.19186],[1345248000000,1.19143],[1345334400000,1.19143],[1345420800000,1.19143],[1345507200000,1.19401],[1345593600000,1.2027],[1345680000000,1.19284],[1345766400000,1.20751],[1345852800000,1.20751],[1345939200000,1.20751],[1346025600000,1.20751],[1346112000000,1.21548],[1346198400000,1.21711],[1346284800000,1.20267],[1346371200000,1.20108]], tooltip: {valueSuffix: ' грн'}, type: 'area', step: true, color: '#888888', fillColor: { linearGradient: {x1: 0, y1: 0, x2: 0, y2: 1}, stops: [[0, '#CCCCCC'], [1, 'rgba(50,50,50,0)']] }, threshold: null }, { name: 'Среднее за период', data: [[1343779200000, 1.174614],[1343779200000, 1.174614],[1343865600000, 1.181622],[1343952000000, 1.184084],[1344038400000, 1.182099],[1344124800000, 1.182099],[1344211200000, 1.182099],[1344297600000, 1.186381],[1344384000000, 1.194436],[1344470400000, 1.191273],[1344556800000, 1.189344],[1344643200000, 1.194125],[1344729600000, 1.194125],[1344816000000, 1.194125],[1344902400000, 1.198193],[1344988800000, 1.196968],[1345075200000, 1.192973],[1345161600000, 1.191859],[1345248000000, 1.191427],[1345334400000, 1.191427],[1345420800000, 1.191427],[1345507200000, 1.194014],[1345593600000, 1.202700],[1345680000000, 1.192836],[1345766400000, 1.207507],[1345852800000, 1.207507],[1345939200000, 1.207507],[1346025600000, 1.207507],[1346112000000, 1.215485],[1346198400000, 1.217113],[1346284800000, 1.202665],[1346371200000, 1.201085]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });