$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1451606400000,0.970185],[1451692800000,0.970185],[1451779200000,0.970185],[1451865600000,0.970185],[1451952000000,0.970185],[1452038400000,0.94582],[1452124800000,0.93416],[1452211200000,0.93416],[1452297600000,0.93416],[1452384000000,0.93416],[1452470400000,0.93416],[1452556800000,0.947099],[1452643200000,0.933047],[1452729600000,0.946343],[1452816000000,0.96553],[1452902400000,0.976949],[1452988800000,0.984847],[1453075200000,0.984847],[1453161600000,0.992519],[1453248000000,0.999177],[1453334400000,0.994668],[1453420800000,0.986976],[1453507200000,0.991466],[1453593600000,0.991466],[1453680000000,0.991466],[1453766400000,0.993799],[1453852800000,0.996588],[1453939200000,1.002],[1454025600000,1.01488],[1454112000000,1.03256],[1454198400000,1.03256],[1454284800000,1.03256],[1454371200000,1.02506],[1454457600000,1.04531],[1454544000000,1.03963],[1454630400000,1.07381],[1454716800000,1.07363],[1454803200000,1.07363],[1454889600000,1.07363],[1454976000000,1.06151],[1455062400000,1.07736],[1455148800000,1.08031],[1455235200000,1.0934],[1455321600000,1.08936],[1455408000000,1.08936],[1455494400000,1.08936],[1455580800000,1.10895],[1455667200000,1.11622],[1455753600000,1.10041],[1455840000000,1.08512],[1455926400000,1.10273],[1456012800000,1.10273],[1456099200000,1.10273],[1456185600000,1.10229],[1456272000000,1.10858],[1456358400000,1.10507],[1456444800000,1.11072],[1456531200000,1.10021],[1456617600000,1.10021],[1456704000000,1.10021],[1456790400000,1.09032],[1456876800000,1.08838],[1456963200000,1.07616],[1457049600000,1.05612],[1457136000000,1.07426],[1457222400000,1.07426],[1457308800000,1.07426],[1457395200000,1.07426],[1457481600000,1.07426],[1457568000000,1.06224],[1457654400000,1.02475],[1457740800000,1.05925],[1457827200000,1.06641],[1457913600000,1.06641],[1458000000000,1.09001],[1458086400000,1.10443],[1458172800000,1.098],[1458259200000,1.11671],[1458345600000,1.09485],[1458432000000,1.09485],[1458518400000,1.09485],[1458604800000,1.10899],[1458691200000,1.08245],[1458777600000,1.07484],[1458864000000,1.08194],[1458950400000,1.07445],[1459036800000,1.07445],[1459123200000,1.07445],[1459209600000,1.08309],[1459296000000,1.09319],[1459382400000,1.09656],[1459468800000,1.10345],[1459555200000,1.10423],[1459641600000,1.10423],[1459728000000,1.10423],[1459814400000,1.09376],[1459900800000,1.09639],[1459987200000,1.08868],[1460073600000,1.08494],[1460160000000,1.07776],[1460246400000,null],[1460332800000,null],[1460419200000,1.07766],[1460505600000,1.07733],[1460592000000,1.06492],[1460678400000,1.06773],[1460764800000,1.06368],[1460851200000,1.06368],[1460937600000,1.06368],[1461024000000,1.06628],[1461110400000,1.06808],[1461196800000,1.07012],[1461283200000,1.06615],[1461369600000,1.05541],[1461456000000,1.05541],[1461542400000,1.05541],[1461628800000,1.05526],[1461715200000,1.05665],[1461801600000,1.05425],[1461888000000,1.05775],[1461974400000,1.06282],[1462060800000,1.06282],[1462147200000,1.06282],[1462233600000,1.06282],[1462320000000,1.06282],[1462406400000,1.07237],[1462492800000,1.06328],[1462579200000,1.06411],[1462665600000,1.06411],[1462752000000,1.06411],[1462838400000,1.06411],[1462924800000,1.0606],[1463011200000,1.06928],[1463097600000,1.06683],[1463184000000,1.06891],[1463270400000,1.06891],[1463356800000,1.06891],[1463443200000,1.06417],[1463529600000,1.05856],[1463616000000,1.05424],[1463702400000,1.04663],[1463788800000,1.0462],[1463875200000,null],[1463961600000,1.0462],[1464048000000,1.04229],[1464134400000,1.03864],[1464220800000,1.03561],[1464307200000,1.03733],[1464393600000,1.03862],[1464480000000,1.03862],[1464566400000,1.03862],[1464652800000,1.03743],[1464739200000,1.03778],[1464825600000,1.03763],[1464912000000,1.03693],[1464998400000,1.03191],[1465084800000,1.03191],[1465171200000,1.03191],[1465257600000,1.04934],[1465344000000,1.04832],[1465430400000,1.05035],[1465516800000,1.04956],[1465603200000,1.0463],[1465689600000,1.0463],[1465776000000,1.0463],[1465862400000,1.04068],[1465948800000,1.03398],[1466035200000,null],[1466121600000,1.02813],[1466208000000,1.03559],[1466294400000,1.03559],[1466380800000,1.03559],[1466467200000,1.03559],[1466553600000,1.04062],[1466640000000,1.03773],[1466726400000,1.04719],[1466812800000,1.01557],[1466899200000,1.01557],[1466985600000,1.01557],[1467072000000,1.01557],[1467158400000,1.01557],[1467244800000,1.01658],[1467331200000,1.01598],[1467417600000,1.02014],[1467504000000,1.02014],[1467590400000,1.02014],[1467676800000,1.02011],[1467763200000,1.02299],[1467849600000,1.01549],[1467936000000,1.01648],[1468022400000,1.01707],[1468108800000,1.01707],[1468195200000,1.01707],[1468281600000,1.01561],[1468368000000,1.01925],[1468454400000,1.01661],[1468540800000,1.02285],[1468627200000,1.02091],[1468713600000,1.02091],[1468800000000,1.02091],[1468886400000,1.01665],[1468972800000,1.01364],[1469059200000,1.01121],[1469145600000,1.01147],[1469232000000,1.01131],[1469318400000,1.01131],[1469404800000,1.01131],[1469491200000,1.00729],[1469577600000,1.00871],[1469664000000,1.00886],[1469750400000,null],[1469836800000,1.01985],[1469923200000,1.01985],[1470009600000,1.01985],[1470096000000,1.02365],[1470182400000,1.02784],[1470268800000,1.02811],[1470355200000,1.02221],[1470441600000,1.0241],[1470528000000,1.0241],[1470614400000,1.0241],[1470700800000,1.01815],[1470787200000,1.01727],[1470873600000,1.02701],[1470960000000,1.02575],[1471046400000,1.03428],[1471132800000,1.03428],[1471219200000,1.03428],[1471305600000,1.03907],[1471392000000,1.04754],[1471478400000,1.04689],[1471564800000,1.05447],[1471651200000,1.05885],[1471737600000,1.05885],[1471824000000,1.05885],[1471910400000,1.0581],[1471996800000,1.06183],[1472083200000,1.06183],[1472169600000,1.05812],[1472256000000,1.06292],[1472342400000,1.06292],[1472428800000,1.06292],[1472515200000,1.05358],[1472601600000,1.06007],[1472688000000,1.07429],[1472774400000,1.09773],[1472860800000,1.10319],[1472947200000,1.10319],[1473033600000,1.10319],[1473120000000,1.10594],[1473206400000,1.10878],[1473292800000,1.11136],[1473379200000,1.11358],[1473465600000,1.11233],[1473552000000,1.11233],[1473638400000,1.11233],[1473724800000,1.10626],[1473811200000,1.09993],[1473897600000,1.09303],[1473984000000,1.0914],[1474070400000,1.07595],[1474156800000,1.07595],[1474243200000,1.07595],[1474329600000,1.06469],[1474416000000,1.06805],[1474502400000,1.07178],[1474588800000,1.07813],[1474675200000,1.0786],[1474761600000,1.0786],[1474848000000,1.0786],[1474934400000,1.07954],[1475020800000,1.07237],[1475107200000,1.07571],[1475193600000,1.076],[1475280000000,1.07132],[1475366400000,1.07132],[1475452800000,1.07132],[1475539200000,1.07784],[1475625600000,1.06833],[1475712000000,1.07424],[1475798400000,1.07164],[1475884800000,1.06535],[1475971200000,1.06535],[1476057600000,1.06535],[1476144000000,1.06669],[1476230400000,1.05996],[1476316800000,1.05235],[1476403200000,1.05355],[1476489600000,1.05355],[1476576000000,1.05355],[1476662400000,1.05355],[1476748800000,1.04892],[1476835200000,1.04405],[1476921600000,1.04395],[1477008000000,1.04447],[1477094400000,1.03388],[1477180800000,1.03388],[1477267200000,1.03388],[1477353600000,1.03346],[1477440000000,1.02984],[1477526400000,1.03429],[1477612800000,1.03248],[1477699200000,1.03052],[1477785600000,1.03052],[1477872000000,1.03052],[1477958400000,1.0335],[1478044800000,null],[1478131200000,1.04942],[1478217600000,1.048],[1478304000000,1.04999],[1478390400000,1.04999],[1478476800000,1.04999],[1478563200000,1.04682],[1478649600000,1.04425],[1478736000000,1.04246],[1478822400000,1.03136],[1478908800000,1.03302],[1478995200000,1.03302],[1479081600000,1.03302],[1479168000000,1.02687],[1479254400000,1.03595],[1479340800000,1.04287],[1479427200000,1.03222],[1479513600000,1.01809],[1479600000000,1.01809],[1479686400000,1.01809],[1479772800000,1.01401],[1479859200000,1.00733],[1479945600000,1.00374],[1480032000000,0.998382],[1480118400000,1.0077],[1480204800000,1.0077],[1480291200000,1.0077],[1480377600000,1.0046],[1480464000000,1.00107],[1480550400000,1.00449],[1480636800000,1.00683],[1480723200000,1.01861],[1480809600000,1.01861],[1480896000000,1.01861],[1480982400000,1.03343],[1481068800000,1.03579],[1481155200000,1.03268],[1481241600000,1.02583],[1481328000000,1.01106],[1481414400000,1.01106],[1481500800000,1.01106],[1481587200000,1.02605],[1481673600000,1.02514],[1481760000000,1.03621],[1481846400000,1.01404],[1481932800000,1.01728],[1482019200000,1.01728],[1482105600000,1.01728],[1482192000000,1.01809],[1482278400000,1.01528],[1482364800000,1.01928],[1482451200000,1.01599],[1482537600000,1.01537],[1482624000000,1.01537],[1482710400000,1.01537],[1482796800000,1.01919],[1482883200000,1.01919],[1482969600000,1.03438],[1483056000000,1.05187]], 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.975043],[1452816000000, 0.975043],[1455494400000, 1.084968],[1458000000000, 1.080628],[1460678400000, 1.073570],[1463270400000, 1.055667],[1465948800000, 1.034816],[1468540800000, 1.016373],[1471219200000, 1.041671],[1473897600000, 1.089959],[1476489600000, 1.051610],[1479168000000, 1.027215],[1481760000000, 1.021696]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });