$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1451606400000,3.51399],[1451692800000,3.51399],[1451779200000,3.51399],[1451865600000,3.51399],[1451952000000,3.51399],[1452038400000,3.42577],[1452124800000,3.38413],[1452211200000,3.38413],[1452297600000,3.38413],[1452384000000,3.38413],[1452470400000,3.38413],[1452556800000,3.43037],[1452643200000,3.37906],[1452729600000,3.42712],[1452816000000,3.49614],[1452902400000,3.53715],[1452988800000,3.56575],[1453075200000,3.56575],[1453161600000,3.59556],[1453248000000,3.61805],[1453334400000,3.60377],[1453420800000,3.57919],[1453507200000,3.59086],[1453593600000,3.59086],[1453680000000,3.59086],[1453766400000,3.5985],[1453852800000,3.6087],[1453939200000,3.62867],[1454025600000,3.67472],[1454112000000,3.73936],[1454198400000,3.73936],[1454284800000,3.73936],[1454371200000,3.71163],[1454457600000,3.7855],[1454544000000,3.76506],[1454630400000,3.88794],[1454716800000,3.8896],[1454803200000,3.8896],[1454889600000,3.8896],[1454976000000,3.84914],[1455062400000,3.90585],[1455148800000,3.91248],[1455235200000,3.96543],[1455321600000,3.94968],[1455408000000,3.94968],[1455494400000,3.94968],[1455580800000,4.01707],[1455667200000,4.04189],[1455753600000,3.98681],[1455840000000,3.92989],[1455926400000,3.99319],[1456012800000,3.99319],[1456099200000,3.99319],[1456185600000,3.99172],[1456272000000,4.01548],[1456358400000,4.00541],[1456444800000,4.02684],[1456531200000,3.99143],[1456617600000,3.99143],[1456704000000,3.99143],[1456790400000,3.95443],[1456876800000,3.9478],[1456963200000,3.90262],[1457049600000,3.83229],[1457136000000,3.89596],[1457222400000,3.89596],[1457308800000,3.89596],[1457395200000,3.89596],[1457481600000,3.89596],[1457568000000,3.85053],[1457654400000,3.71461],[1457740800000,3.84223],[1457827200000,3.86822],[1457913600000,3.86822],[1458000000000,3.95317],[1458086400000,4.00486],[1458172800000,3.98323],[1458259200000,4.05086],[1458345600000,3.97083],[1458432000000,3.97083],[1458518400000,3.97083],[1458604800000,4.02201],[1458691200000,3.92618],[1458777600000,3.89866],[1458864000000,3.928],[1458950400000,3.90079],[1459036800000,3.90079],[1459123200000,3.90079],[1459209600000,3.93219],[1459296000000,3.97001],[1459382400000,3.98349],[1459468800000,4.00599],[1459555200000,4.00617],[1459641600000,4.00617],[1459728000000,4.00617],[1459814400000,3.97291],[1459900800000,3.98302],[1459987200000,3.95446],[1460073600000,3.94004],[1460160000000,3.91341],[1460246400000,null],[1460332800000,null],[1460419200000,3.91338],[1460505600000,3.91224],[1460592000000,3.86828],[1460678400000,3.87808],[1460764800000,3.86299],[1460851200000,3.86299],[1460937600000,3.86299],[1461024000000,3.87184],[1461110400000,3.87791],[1461196800000,3.88494],[1461283200000,3.87198],[1461369600000,3.83596],[1461456000000,3.83596],[1461542400000,3.83596],[1461628800000,3.83533],[1461715200000,3.83753],[1461801600000,3.82929],[1461888000000,3.84335],[1461974400000,3.86037],[1462060800000,3.86037],[1462147200000,3.86037],[1462233600000,3.86037],[1462320000000,3.86037],[1462406400000,3.89592],[1462492800000,3.86261],[1462579200000,3.86522],[1462665600000,3.86522],[1462752000000,3.86522],[1462838400000,3.86522],[1462924800000,3.85244],[1463011200000,3.88314],[1463097600000,3.87449],[1463184000000,3.88225],[1463270400000,3.88225],[1463356800000,3.88225],[1463443200000,3.86596],[1463529600000,3.84541],[1463616000000,3.83037],[1463702400000,3.80324],[1463788800000,3.80174],[1463875200000,null],[1463961600000,3.80174],[1464048000000,3.7886],[1464134400000,3.77454],[1464220800000,3.76372],[1464307200000,3.76937],[1464393600000,3.77478],[1464480000000,3.77478],[1464566400000,3.77478],[1464652800000,3.76937],[1464739200000,3.77043],[1464825600000,3.77012],[1464912000000,3.76797],[1464998400000,3.7492],[1465084800000,3.7492],[1465171200000,3.7492],[1465257600000,3.8125],[1465344000000,3.80917],[1465430400000,3.81655],[1465516800000,3.81378],[1465603200000,3.80297],[1465689600000,3.80297],[1465776000000,3.80297],[1465862400000,3.78378],[1465948800000,3.76113],[1466035200000,null],[1466121600000,3.74265],[1466208000000,3.76973],[1466294400000,3.76973],[1466380800000,3.76973],[1466467200000,3.76973],[1466553600000,3.78755],[1466640000000,3.77669],[1466726400000,3.80923],[1466812800000,3.70103],[1466899200000,3.70103],[1466985600000,3.70103],[1467072000000,3.70103],[1467158400000,3.70103],[1467244800000,3.70597],[1467331200000,3.70526],[1467417600000,3.71587],[1467504000000,3.71587],[1467590400000,3.71587],[1467676800000,3.71454],[1467763200000,3.72227],[1467849600000,3.69536],[1467936000000,3.69499],[1468022400000,3.69488],[1468108800000,3.69488],[1468195200000,3.69488],[1468281600000,3.69213],[1468368000000,3.70464],[1468454400000,3.69493],[1468540800000,3.7198],[1468627200000,3.71165],[1468713600000,3.71165],[1468800000000,3.71165],[1468886400000,3.69339],[1468972800000,3.681],[1469059200000,3.67351],[1469145600000,3.67455],[1469232000000,3.67368],[1469318400000,3.67368],[1469404800000,3.67368],[1469491200000,3.6592],[1469577600000,3.66383],[1469664000000,3.66633],[1469750400000,null],[1469836800000,3.70661],[1469923200000,3.70661],[1470009600000,3.70661],[1470096000000,3.71941],[1470182400000,3.73499],[1470268800000,3.7364],[1470355200000,3.71421],[1470441600000,3.72086],[1470528000000,3.72086],[1470614400000,3.72086],[1470700800000,3.70018],[1470787200000,3.69703],[1470873600000,3.7313],[1470960000000,3.72592],[1471046400000,3.75606],[1471132800000,3.75606],[1471219200000,3.75606],[1471305600000,3.77377],[1471392000000,3.80452],[1471478400000,3.80175],[1471564800000,3.82923],[1471651200000,3.84485],[1471737600000,3.84485],[1471824000000,3.84485],[1471910400000,3.84222],[1471996800000,3.85552],[1472083200000,3.85552],[1472169600000,3.84152],[1472256000000,3.85759],[1472342400000,3.85759],[1472428800000,3.85759],[1472515200000,3.82411],[1472601600000,3.84811],[1472688000000,3.90069],[1472774400000,3.98642],[1472860800000,4.0066],[1472947200000,4.0066],[1473033600000,4.0066],[1473120000000,4.01624],[1473206400000,4.0261],[1473292800000,4.03408],[1473379200000,4.04279],[1473465600000,4.03843],[1473552000000,4.03843],[1473638400000,4.03843],[1473724800000,4.0164],[1473811200000,3.99281],[1473897600000,3.96778],[1473984000000,3.96076],[1474070400000,3.90441],[1474156800000,3.90441],[1474243200000,3.90441],[1474329600000,3.86144],[1474416000000,3.87291],[1474502400000,3.88508],[1474588800000,3.90809],[1474675200000,3.90947],[1474761600000,3.90947],[1474848000000,3.90947],[1474934400000,3.91343],[1475020800000,3.88997],[1475107200000,3.9013],[1475193600000,3.90158],[1475280000000,3.88498],[1475366400000,3.88498],[1475452800000,3.88498],[1475539200000,3.91126],[1475625600000,3.87907],[1475712000000,3.90161],[1475798400000,3.89136],[1475884800000,3.86893],[1475971200000,3.86893],[1476057600000,3.86893],[1476144000000,3.87361],[1476230400000,3.84899],[1476316800000,3.8226],[1476403200000,3.82658],[1476489600000,3.82658],[1476576000000,3.82658],[1476662400000,3.82658],[1476748800000,3.80995],[1476835200000,3.7915],[1476921600000,3.79102],[1477008000000,3.7932],[1477094400000,3.75577],[1477180800000,3.75577],[1477267200000,3.75577],[1477353600000,3.75367],[1477440000000,3.74087],[1477526400000,3.75716],[1477612800000,3.75117],[1477699200000,3.74374],[1477785600000,3.74374],[1477872000000,3.74374],[1477958400000,3.75428],[1478044800000,null],[1478131200000,3.81173],[1478217600000,3.80589],[1478304000000,3.81278],[1478390400000,3.81278],[1478476800000,3.81278],[1478563200000,3.80151],[1478649600000,3.79165],[1478736000000,3.78602],[1478822400000,3.74519],[1478908800000,3.75521],[1478995200000,3.75521],[1479081600000,3.75521],[1479168000000,3.72887],[1479254400000,3.76194],[1479340800000,3.78855],[1479427200000,3.75193],[1479513600000,3.69952],[1479600000000,3.69952],[1479686400000,3.69952],[1479772800000,3.6838],[1479859200000,3.66162],[1479945600000,3.64633],[1480032000000,3.62904],[1480118400000,3.66326],[1480204800000,3.66326],[1480291200000,3.66326],[1480377600000,3.65219],[1480464000000,3.63941],[1480550400000,3.65329],[1480636800000,3.66201],[1480723200000,3.70459],[1480809600000,3.70459],[1480896000000,3.70459],[1480982400000,3.75848],[1481068800000,3.76599],[1481155200000,3.75374],[1481241600000,3.72851],[1481328000000,3.67438],[1481414400000,3.67438],[1481500800000,3.67438],[1481587200000,3.72873],[1481673600000,3.72482],[1481760000000,3.76573],[1481846400000,3.68533],[1481932800000,3.69758],[1482019200000,3.69758],[1482105600000,3.69758],[1482192000000,3.70041],[1482278400000,3.69019],[1482364800000,3.70478],[1482451200000,3.69281],[1482537600000,3.69082],[1482624000000,3.69082],[1482710400000,3.69082],[1482796800000,3.7047],[1482883200000,3.7047],[1482969600000,3.7621],[1483056000000,3.82343]], 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, 3.531489],[1452816000000, 3.531489],[1455494400000, 3.931352],[1458000000000, 3.920266],[1460678400000, 3.898918],[1463270400000, 3.835203],[1465948800000, 3.764417],[1468540800000, 3.695240],[1471219200000, 3.783239],[1473897600000, 3.955154],[1476489600000, 3.818826],[1479168000000, 3.732147],[1481760000000, 3.714041]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });