$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1451606400000,26.2231],[1451692800000,26.2231],[1451779200000,26.2231],[1451865600000,26.2231],[1451952000000,26.2231],[1452038400000,25.558],[1452124800000,25.2466],[1452211200000,25.2466],[1452297600000,25.2466],[1452384000000,25.2466],[1452470400000,25.2466],[1452556800000,25.5916],[1452643200000,25.2119],[1452729600000,25.5711],[1452816000000,26.0896],[1452902400000,26.3981],[1452988800000,26.6116],[1453075200000,26.6116],[1453161600000,26.8347],[1453248000000,27.0008],[1453334400000,26.8978],[1453420800000,26.7115],[1453507200000,26.7954],[1453593600000,26.7954],[1453680000000,26.7954],[1453766400000,26.8534],[1453852800000,26.9288],[1453939200000,27.079],[1454025600000,27.423],[1454112000000,27.9061],[1454198400000,27.9061],[1454284800000,27.9061],[1454371200000,27.698],[1454457600000,28.2505],[1454544000000,28.096],[1454630400000,29.0153],[1454716800000,29.0277],[1454803200000,29.0277],[1454889600000,29.0277],[1454976000000,28.7265],[1455062400000,29.1513],[1455148800000,29.202],[1455235200000,29.5971],[1455321600000,29.4812],[1455408000000,29.4812],[1455494400000,29.4812],[1455580800000,29.9826],[1455667200000,30.1703],[1455753600000,29.7595],[1455840000000,29.3308],[1455926400000,29.7992],[1456012800000,29.7992],[1456099200000,29.7992],[1456185600000,29.7862],[1456272000000,29.9627],[1456358400000,29.8888],[1456444800000,30.0471],[1456531200000,29.7761],[1456617600000,29.7761],[1456704000000,29.7761],[1456790400000,29.5008],[1456876800000,29.4471],[1456963200000,29.1058],[1457049600000,28.5755],[1457136000000,29.0674],[1457222400000,29.0674],[1457308800000,29.0674],[1457395200000,29.0674],[1457481600000,29.0674],[1457568000000,28.7303],[1457654400000,27.7062],[1457740800000,28.6623],[1457827200000,28.8561],[1457913600000,28.8561],[1458000000000,29.4847],[1458086400000,29.867],[1458172800000,29.701],[1458259200000,30.2003],[1458345600000,29.5994],[1458432000000,29.5994],[1458518400000,29.5994],[1458604800000,29.9816],[1458691200000,29.2661],[1458777600000,29.0614],[1458864000000,29.2817],[1458950400000,29.0788],[1459036800000,29.0788],[1459123200000,29.0788],[1459209600000,29.3129],[1459296000000,29.596],[1459382400000,29.6893],[1459468800000,29.8494],[1459555200000,29.8472],[1459641600000,29.8472],[1459728000000,29.8472],[1459814400000,29.5819],[1459900800000,29.642],[1459987200000,29.4259],[1460073600000,29.3206],[1460160000000,29.1232],[1460246400000,null],[1460332800000,null],[1460419200000,29.1249],[1460505600000,29.1204],[1460592000000,28.7912],[1460678400000,28.8587],[1460764800000,28.746],[1460851200000,28.746],[1460937600000,28.746],[1461024000000,28.8131],[1461110400000,28.8605],[1461196800000,28.9156],[1461283200000,28.8118],[1461369600000,28.5445],[1461456000000,28.5445],[1461542400000,28.5445],[1461628800000,28.5418],[1461715200000,28.5582],[1461801600000,28.5006],[1461888000000,28.6069],[1461974400000,28.7366],[1462060800000,28.7366],[1462147200000,28.7366],[1462233600000,28.7366],[1462320000000,28.7366],[1462406400000,28.9872],[1462492800000,28.7382],[1462579200000,28.7534],[1462665600000,28.7534],[1462752000000,28.7534],[1462838400000,28.7534],[1462924800000,28.6606],[1463011200000,28.894],[1463097600000,28.8289],[1463184000000,28.8831],[1463270400000,28.8831],[1463356800000,28.8831],[1463443200000,28.7569],[1463529600000,28.6045],[1463616000000,28.4876],[1463702400000,28.2831],[1463788800000,28.2736],[1463875200000,null],[1463961600000,28.2736],[1464048000000,28.1762],[1464134400000,28.0693],[1464220800000,27.9904],[1464307200000,28.0317],[1464393600000,28.0719],[1464480000000,28.0719],[1464566400000,28.0719],[1464652800000,28.0324],[1464739200000,28.043],[1464825600000,28.044],[1464912000000,28.0273],[1464998400000,27.8873],[1465084800000,27.8873],[1465171200000,27.8873],[1465257600000,28.3562],[1465344000000,28.3265],[1465430400000,28.3814],[1465516800000,28.36],[1465603200000,28.2773],[1465689600000,28.2773],[1465776000000,28.2773],[1465862400000,28.1347],[1465948800000,27.967],[1466035200000,null],[1466121600000,27.8284],[1466208000000,28.0325],[1466294400000,28.0325],[1466380800000,28.0325],[1466467200000,28.0325],[1466553600000,28.1634],[1466640000000,28.0925],[1466726400000,28.3392],[1466812800000,27.5249],[1466899200000,27.5249],[1466985600000,27.5249],[1467072000000,27.5249],[1467158400000,27.5249],[1467244800000,27.5635],[1467331200000,27.5645],[1467417600000,27.6386],[1467504000000,27.6386],[1467590400000,27.6386],[1467676800000,27.6399],[1467763200000,27.6933],[1467849600000,27.4976],[1467936000000,27.4948],[1468022400000,27.4944],[1468108800000,27.4944],[1468195200000,27.4944],[1468281600000,27.4591],[1468368000000,27.5544],[1468454400000,27.4821],[1468540800000,27.6672],[1468627200000,27.6054],[1468713600000,27.6054],[1468800000000,27.6054],[1468886400000,27.474],[1468972800000,27.3826],[1469059200000,27.325],[1469145600000,27.335],[1469232000000,27.3285],[1469318400000,27.3285],[1469404800000,27.3285],[1469491200000,27.2219],[1469577600000,27.2563],[1469664000000,27.2746],[1469750400000,null],[1469836800000,27.5675],[1469923200000,27.5675],[1470009600000,27.5675],[1470096000000,27.6683],[1470182400000,27.7846],[1470268800000,27.7939],[1470355200000,27.6274],[1470441600000,27.6732],[1470528000000,27.6732],[1470614400000,27.6732],[1470700800000,27.5175],[1470787200000,27.4937],[1470873600000,27.7549],[1470960000000,27.7157],[1471046400000,27.9443],[1471132800000,27.9443],[1471219200000,27.9443],[1471305600000,28.0787],[1471392000000,28.3045],[1471478400000,28.29],[1471564800000,28.496],[1471651200000,28.6122],[1471737600000,28.6122],[1471824000000,28.6122],[1471910400000,28.5942],[1471996800000,28.6939],[1472083200000,28.6939],[1472169600000,28.5967],[1472256000000,28.7244],[1472342400000,28.7244],[1472428800000,28.7244],[1472515200000,28.4709],[1472601600000,28.6484],[1472688000000,29.0336],[1472774400000,29.6661],[1472860800000,29.8103],[1472947200000,29.8103],[1473033600000,29.8103],[1473120000000,29.8836],[1473206400000,29.9602],[1473292800000,30.0301],[1473379200000,30.0901],[1473465600000,30.0573],[1473552000000,30.0573],[1473638400000,30.0573],[1473724800000,29.8956],[1473811200000,29.7213],[1473897600000,29.537],[1473984000000,29.493],[1474070400000,29.0766],[1474156800000,29.0766],[1474243200000,29.0766],[1474329600000,28.7689],[1474416000000,28.8609],[1474502400000,28.9617],[1474588800000,29.1321],[1474675200000,29.1459],[1474761600000,29.1459],[1474848000000,29.1459],[1474934400000,29.1703],[1475020800000,28.9807],[1475107200000,29.069],[1475193600000,29.0757],[1475280000000,28.9482],[1475366400000,28.9482],[1475452800000,28.9482],[1475539200000,29.1244],[1475625600000,28.8673],[1475712000000,29.0346],[1475798400000,28.9568],[1475884800000,28.7867],[1475971200000,28.7867],[1476057600000,28.7867],[1476144000000,28.8231],[1476230400000,28.6411],[1476316800000,28.4398],[1476403200000,28.4679],[1476489600000,28.4679],[1476576000000,28.4679],[1476662400000,28.4679],[1476748800000,28.346],[1476835200000,28.2114],[1476921600000,28.2086],[1477008000000,28.2225],[1477094400000,27.9365],[1477180800000,27.9365],[1477267200000,27.9365],[1477353600000,27.925],[1477440000000,27.8272],[1477526400000,27.9476],[1477612800000,27.8997],[1477699200000,27.8467],[1477785600000,27.8467],[1477872000000,27.8467],[1477958400000,27.9292],[1478044800000,null],[1478131200000,28.3574],[1478217600000,28.3181],[1478304000000,28.3717],[1478390400000,28.3717],[1478476800000,28.3717],[1478563200000,28.2863],[1478649600000,28.2167],[1478736000000,28.1745],[1478822400000,27.8695],[1478908800000,27.9474],[1478995200000,27.9474],[1479081600000,27.9474],[1479168000000,27.7521],[1479254400000,28.0017],[1479340800000,28.1951],[1479427200000,27.9215],[1479513600000,27.5241],[1479600000000,27.5241],[1479686400000,27.5241],[1479772800000,27.4108],[1479859200000,27.2421],[1479945600000,27.128],[1480032000000,26.9903],[1480118400000,27.2473],[1480204800000,27.2473],[1480291200000,27.2473],[1480377600000,27.1683],[1480464000000,27.0739],[1480550400000,27.1815],[1480636800000,27.2457],[1480723200000,27.5614],[1480809600000,27.5614],[1480896000000,27.5614],[1480982400000,27.9616],[1481068800000,28.0129],[1481155200000,27.9196],[1481241600000,27.7364],[1481328000000,27.326],[1481414400000,27.326],[1481500800000,27.326],[1481587200000,27.7309],[1481673600000,27.7015],[1481760000000,28.0016],[1481846400000,27.4004],[1481932800000,27.4878],[1482019200000,27.4878],[1482105600000,27.4878],[1482192000000,27.5099],[1482278400000,27.434],[1482364800000,27.542],[1482451200000,27.4531],[1482537600000,27.4383],[1482624000000,27.4383],[1482710400000,27.4383],[1482796800000,27.5415],[1482883200000,27.5415],[1482969600000,27.9716],[1483056000000,28.4226]], 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, 26.352236],[1452816000000, 26.352236],[1455494400000, 29.338735],[1458000000000, 29.233990],[1460678400000, 29.021308],[1463270400000, 28.530445],[1465948800000, 27.995712],[1468540800000, 27.488601],[1471219200000, 28.150101],[1473897600000, 29.453331],[1476489600000, 28.416163],[1479168000000, 27.769194],[1481760000000, 27.618438]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });