$(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: 'Курс ISK, грн'}, 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: 'Курс ISK', data: [[1451606400000,0.185419],[1451692800000,0.185419],[1451779200000,0.185419],[1451865600000,0.185419],[1451952000000,0.185419],[1452038400000,0.181333],[1452124800000,0.178511],[1452211200000,0.178511],[1452297600000,0.178511],[1452384000000,0.178511],[1452470400000,0.178511],[1452556800000,0.181389],[1452643200000,0.178522],[1452729600000,0.180818],[1452816000000,0.184763],[1452902400000,0.18653],[1452988800000,0.188039],[1453075200000,0.188039],[1453161600000,0.189356],[1453248000000,0.190919],[1453334400000,0.190286],[1453420800000,0.188542],[1453507200000,0.190226],[1453593600000,0.190226],[1453680000000,0.190226],[1453766400000,0.189801],[1453852800000,0.189861],[1453939200000,0.190871],[1454025600000,0.193237],[1454112000000,0.197001],[1454198400000,0.197001],[1454284800000,0.197001],[1454371200000,0.195426],[1454457600000,0.199067],[1454544000000,0.198061],[1454630400000,0.203112],[1454716800000,0.203574],[1454803200000,0.203574],[1454889600000,0.203574],[1454976000000,0.203199],[1455062400000,0.204095],[1455148800000,0.204648],[1455235200000,0.206309],[1455321600000,0.206715],[1455408000000,0.206715],[1455494400000,0.206715],[1455580800000,0.21105],[1455667200000,0.212286],[1455753600000,0.208665],[1455840000000,0.20643],[1455926400000,0.208832],[1456012800000,0.208832],[1456099200000,0.208832],[1456185600000,0.209675],[1456272000000,0.210479],[1456358400000,0.210182],[1456444800000,0.210886],[1456531200000,0.209968],[1456617600000,0.209968],[1456704000000,0.209968],[1456790400000,0.208888],[1456876800000,0.208316],[1456963200000,0.206173],[1457049600000,0.201659],[1457136000000,0.205372],[1457222400000,0.205372],[1457308800000,0.205372],[1457395200000,0.205372],[1457481600000,0.205372],[1457568000000,0.20292],[1457654400000,0.198624],[1457740800000,0.204068],[1457827200000,0.205448],[1457913600000,0.205448],[1458000000000,0.209607],[1458086400000,0.211947],[1458172800000,0.211876],[1458259200000,0.214596],[1458345600000,0.210229],[1458432000000,0.210229],[1458518400000,0.210229],[1458604800000,0.212874],[1458691200000,0.208204],[1458777600000,0.206912],[1458864000000,0.208798],[1458950400000,0.207352],[1459036800000,0.207352],[1459123200000,0.207352],[1459209600000,0.20902],[1459296000000,0.210687],[1459382400000,0.211078],[1459468800000,0.212242],[1459555200000,0.212368],[1459641600000,0.212368],[1459728000000,0.212368],[1459814400000,0.21079],[1459900800000,0.21146],[1459987200000,0.209355],[1460073600000,0.208192],[1460160000000,0.207127],[1460246400000,null],[1460332800000,null],[1460419200000,0.207083],[1460505600000,0.207345],[1460592000000,0.205164],[1460678400000,0.205922],[1460764800000,0.205179],[1460851200000,0.205179],[1460937600000,0.205179],[1461024000000,0.205572],[1461110400000,0.205704],[1461196800000,0.205677],[1461283200000,0.205372],[1461369600000,0.202944],[1461456000000,0.202944],[1461542400000,0.202944],[1461628800000,0.203085],[1461715200000,0.203276],[1461801600000,0.203561],[1461888000000,0.20384],[1461974400000,0.205069],[1462060800000,0.205069],[1462147200000,0.205069],[1462233600000,0.205069],[1462320000000,0.205069],[1462406400000,0.206502],[1462492800000,0.20591],[1462579200000,0.20546],[1462665600000,0.20546],[1462752000000,0.20546],[1462838400000,0.20546],[1462924800000,0.205097],[1463011200000,0.206168],[1463097600000,0.205997],[1463184000000,0.206475],[1463270400000,0.206475],[1463356800000,0.206475],[1463443200000,0.206009],[1463529600000,0.204593],[1463616000000,0.20377],[1463702400000,0.202563],[1463788800000,0.202211],[1463875200000,null],[1463961600000,0.202211],[1464048000000,0.201489],[1464134400000,0.201489],[1464220800000,0.200419],[1464307200000,0.201218],[1464393600000,0.201362],[1464480000000,0.201362],[1464566400000,0.201362],[1464652800000,0.201055],[1464739200000,0.201536],[1464825600000,0.201539],[1464912000000,0.201619],[1464998400000,0.200225],[1465084800000,0.200225],[1465171200000,0.200225],[1465257600000,0.202839],[1465344000000,0.203719],[1465430400000,0.203592],[1465516800000,0.204],[1465603200000,0.20336],[1465689600000,0.20336],[1465776000000,0.20336],[1465862400000,0.202734],[1465948800000,0.201431],[1466035200000,null],[1466121600000,0.201461],[1466208000000,0.201496],[1466294400000,0.201496],[1466380800000,0.201496],[1466467200000,0.201496],[1466553600000,0.203687],[1466640000000,0.2032],[1466726400000,0.206121],[1466812800000,0.199178],[1466899200000,0.199178],[1466985600000,0.199178],[1467072000000,0.199178],[1467158400000,0.199178],[1467244800000,0.20073],[1467331200000,0.202433],[1467417600000,0.202244],[1467504000000,0.202244],[1467590400000,0.202244],[1467676800000,0.202347],[1467763200000,0.202907],[1467849600000,0.201951],[1467936000000,0.202174],[1468022400000,0.20209],[1468108800000,0.20209],[1468195200000,0.20209],[1468281600000,0.202082],[1468368000000,0.202839],[1468454400000,0.20307],[1468540800000,0.203079],[1468627200000,0.204764],[1468713600000,0.204764],[1468800000000,0.204764],[1468886400000,0.203692],[1468972800000,0.203413],[1469059200000,0.202676],[1469145600000,0.202746],[1469232000000,0.203215],[1469318400000,0.203215],[1469404800000,0.203215],[1469491200000,0.203162],[1469577600000,0.204044],[1469664000000,0.204595],[1469750400000,null],[1469836800000,0.207812],[1469923200000,0.207812],[1470009600000,0.207812],[1470096000000,0.207619],[1470182400000,0.209461],[1470268800000,0.209559],[1470355200000,0.206605],[1470441600000,0.20744],[1470528000000,0.20744],[1470614400000,0.20744],[1470700800000,0.206589],[1470787200000,0.207649],[1470873600000,0.20907],[1470960000000,0.209055],[1471046400000,0.211219],[1471132800000,0.211219],[1471219200000,0.211219],[1471305600000,0.212336],[1471392000000,0.213944],[1471478400000,0.213739],[1471564800000,0.215357],[1471651200000,0.21664],[1471737600000,0.21664],[1471824000000,0.21664],[1471910400000,0.216386],[1471996800000,0.217215],[1472083200000,0.217215],[1472169600000,0.217101],[1472256000000,0.218371],[1472342400000,0.218371],[1472428800000,0.218371],[1472515200000,0.217666],[1472601600000,0.219344],[1472688000000,0.223777],[1472774400000,0.229092],[1472860800000,0.230011],[1472947200000,0.230011],[1473033600000,0.230011],[1473120000000,0.231442],[1473206400000,0.231692],[1473292800000,0.233013],[1473379200000,0.232909],[1473465600000,0.232806],[1473552000000,0.232806],[1473638400000,0.232806],[1473724800000,0.231914],[1473811200000,0.230392],[1473897600000,0.229355],[1473984000000,0.22862],[1474070400000,0.225816],[1474156800000,0.225816],[1474243200000,0.225816],[1474329600000,0.223633],[1474416000000,0.224123],[1474502400000,0.226122],[1474588800000,0.227134],[1474675200000,0.226794],[1474761600000,0.226794],[1474848000000,0.226794],[1474934400000,0.227007],[1475020800000,0.226554],[1475107200000,0.226607],[1475193600000,0.226661],[1475280000000,0.226642],[1475366400000,0.226642],[1475452800000,0.226642],[1475539200000,0.227713],[1475625600000,0.226702],[1475712000000,0.227578],[1475798400000,0.227375],[1475884800000,0.225882],[1475971200000,0.225882],[1476057600000,0.225882],[1476144000000,0.226654],[1476230400000,0.225779],[1476316800000,0.22494],[1476403200000,0.225286],[1476489600000,0.225286],[1476576000000,0.225286],[1476662400000,0.225286],[1476748800000,0.225358],[1476835200000,0.224583],[1476921600000,0.225518],[1477008000000,0.225193],[1477094400000,0.223699],[1477180800000,0.223699],[1477267200000,0.223699],[1477353600000,0.223876],[1477440000000,0.223306],[1477526400000,0.224536],[1477612800000,0.224504],[1477699200000,0.224259],[1477785600000,0.224259],[1477872000000,0.224259]], 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: [[1452816000000, 0.186343],[1452816000000, 0.186343],[1455494400000, 0.206132],[1458000000000, 0.207637],[1460678400000, 0.206690],[1463270400000, 0.204078],[1465948800000, 0.201753],[1468540800000, 0.203326],[1471219200000, 0.212733],[1473897600000, 0.228544],[1476489600000, 0.225361]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });