$(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: [[1420070400000,2.58493],[1420156800000,2.58493],[1420243200000,2.58493],[1420329600000,2.58493],[1420416000000,2.58493],[1420502400000,2.58493],[1420588800000,2.52672],[1420675200000,2.52672],[1420761600000,null],[1420848000000,2.49121],[1420934400000,2.49121],[1421020800000,2.49121],[1421107200000,2.50224],[1421193600000,2.50197],[1421280000000,null],[1421366400000,2.49729],[1421452800000,2.48786],[1421539200000,2.47459],[1421625600000,2.47459],[1421712000000,2.46389],[1421798400000,2.46199],[1421884800000,2.45823],[1421971200000,null],[1422057600000,2.46423],[1422144000000,2.46423],[1422230400000,2.46423],[1422316800000,2.37862],[1422403200000,2.40128],[1422489600000,2.40887],[1422576000000,2.4313],[1422662400000,2.45601],[1422748800000,2.45601],[1422835200000,2.45601],[1422921600000,2.4522],[1423008000000,2.46764],[1423094400000,2.55653],[1423180800000,2.76767],[1423267200000,null],[1423353600000,3.54464],[1423440000000,3.54464],[1423526400000,3.83758],[1423612800000,3.76245],[1423699200000,3.87864],[1423785600000,3.81477],[1423872000000,3.94392],[1423958400000,3.94392],[1424044800000,3.94392],[1424131200000,3.98272],[1424217600000,4.0395],[1424304000000,4.10959],[1424390400000,4.17941],[1424476800000,4.26137],[1424563200000,4.26137],[1424649600000,4.26137],[1424736000000,4.29256],[1424822400000,4.28252],[1424908800000,4.25907],[1424995200000,4.56123],[1425081600000,4.20728],[1425168000000,4.20728],[1425254400000,4.20728],[1425340800000,4.04347],[1425427200000,3.73376],[1425513600000,3.56188],[1425600000000,3.44431],[1425686400000,3.40006],[1425772800000,3.40006],[1425859200000,3.40006],[1425945600000,3.40006],[1426032000000,3.16828],[1426118400000,3.10585],[1426204800000,3.05663],[1426291200000,3.07625],[1426377600000,3.07625],[1426464000000,3.07625],[1426550400000,3.08541],[1426636800000,3.14577],[1426723200000,3.32057],[1426809600000,3.32198],[1426896000000,3.32322],[1426982400000,3.32322],[1427068800000,3.32322],[1427155200000,3.34778],[1427241600000,3.40845],[1427328000000,3.45763],[1427414400000,3.45646],[1427500800000,3.45494],[1427587200000,3.45494],[1427673600000,3.45494],[1427760000000,3.40815],[1427846400000,3.37783],[1427932800000,3.38047],[1428019200000,3.40804],[1428105600000,3.37837],[1428192000000,3.37837],[1428278400000,3.37837],[1428364800000,3.39906],[1428451200000,3.41261],[1428537600000,3.41782],[1428624000000,3.37932],[1428710400000,3.2371],[1428796800000,3.2371],[1428883200000,3.2371],[1428969600000,3.2371],[1429056000000,3.24264],[1429142400000,3.08611],[1429228800000,3.07765],[1429315200000,3.05219],[1429401600000,3.05219],[1429488000000,3.05219],[1429574400000,3.19872],[1429660800000,3.19468],[1429747200000,3.24543],[1429833600000,3.25337],[1429920000000,3.25729],[1430006400000,3.25729],[1430092800000,3.25729],[1430179200000,3.32147],[1430265600000,3.26057],[1430352000000,3.10319],[1430438400000,3.17562],[1430524800000,3.17562],[1430611200000,3.17562],[1430697600000,3.17562],[1430784000000,3.17562],[1430870400000,3.1473],[1430956800000,3.16306],[1431043200000,3.13876],[1431129600000,3.09542],[1431216000000,3.09542],[1431302400000,3.09542],[1431388800000,3.09542],[1431475200000,3.10794],[1431561600000,3.09292],[1431648000000,3.1466],[1431734400000,3.14084],[1431820800000,3.14084],[1431907200000,3.14084],[1431993600000,3.37499],[1432080000000,3.18547],[1432166400000,3.10189],[1432252800000,3.08698],[1432339200000,3.11965],[1432425600000,3.11965],[1432512000000,3.11965],[1432598400000,3.11199],[1432684800000,3.13985],[1432771200000,null],[1432857600000,3.07436],[1432944000000,3.10068],[1433030400000,3.10068],[1433116800000,3.10068],[1433203200000,3.10068],[1433289600000,3.11557],[1433376000000,3.13525],[1433462400000,3.18787],[1433548800000,3.16163],[1433635200000,3.16163],[1433721600000,3.16163],[1433808000000,3.15736],[1433894400000,3.19201],[1433980800000,3.19759],[1434067200000,3.16537],[1434153600000,3.16674],[1434240000000,3.16674],[1434326400000,3.16674],[1434412800000,3.22546],[1434499200000,3.33079],[1434585600000,3.27446],[1434672000000,3.26034],[1434758400000,3.27644],[1434844800000,3.27644],[1434931200000,3.27644],[1435017600000,3.30987],[1435104000000,3.23182],[1435190400000,3.18242],[1435276800000,3.18404],[1435363200000,3.15535],[1435449600000,3.15535],[1435536000000,3.15535],[1435622400000,3.15535],[1435708800000,3.15033],[1435795200000,3.12532],[1435881600000,3.11665],[1435968000000,3.12596],[1436054400000,3.12596],[1436140800000,3.12596],[1436227200000,3.13758],[1436313600000,3.17912],[1436400000000,3.24596],[1436486400000,3.23644],[1436572800000,3.28482],[1436659200000,3.28482],[1436745600000,3.28482],[1436832000000,3.252],[1436918400000,3.25133],[1437004800000,3.26119],[1437091200000,3.20208],[1437177600000,3.21251],[1437264000000,3.21251],[1437350400000,3.21251],[1437436800000,3.20435],[1437523200000,3.2071],[1437609600000,3.21615],[1437696000000,3.24538],[1437782400000,3.23611],[1437868800000,3.23611],[1437955200000,3.23611],[1438041600000,3.23611],[1438128000000,3.25654],[1438214400000,3.26308],[1438300800000,3.1733],[1438387200000,3.10522],[1438473600000,3.10522],[1438560000000,3.10522],[1438646400000,3.1874],[1438732800000,3.19327],[1438819200000,3.14541],[1438905600000,3.13419],[1438992000000,3.09226],[1439078400000,3.09226],[1439164800000,3.09226],[1439251200000,3.12309],[1439337600000,3.16608],[1439424000000,3.19675],[1439510400000,3.18488],[1439596800000,3.25667],[1439683200000,3.25667],[1439769600000,3.25667],[1439856000000,3.27481],[1439942400000,3.27317],[1440028800000,3.26441],[1440115200000,3.30135],[1440201600000,3.33999],[1440288000000,3.33999],[1440374400000,3.33999],[1440460800000,null],[1440547200000,3.48771],[1440633600000,3.27312],[1440720000000,3.22325],[1440806400000,3.19868],[1440892800000,3.19868],[1440979200000,3.19868],[1441065600000,3.27685],[1441152000000,null],[1441238400000,null],[1441324800000,null],[1441411200000,null],[1441497600000,null],[1441584000000,null],[1441670400000,null],[1441756800000,null],[1441843200000,null],[1441929600000,null],[1442016000000,null],[1442102400000,null],[1442188800000,null],[1442275200000,null],[1442361600000,null],[1442448000000,3.28407],[1442534400000,null],[1442620800000,3.3118],[1442707200000,3.3118],[1442793600000,3.3118],[1442880000000,3.2955],[1442966400000,3.2505],[1443052800000,3.22474],[1443139200000,3.23382],[1443225600000,3.23123],[1443312000000,3.23123],[1443398400000,3.23123],[1443484800000,3.23259],[1443571200000,3.23287],[1443657600000,3.19814],[1443744000000,3.16229],[1443830400000,3.1637],[1443916800000,3.1637],[1444003200000,3.1637],[1444089600000,3.19521],[1444176000000,3.19878],[1444262400000,3.21155],[1444348800000,3.21269],[1444435200000,3.27404],[1444521600000,3.27404],[1444608000000,3.27404],[1444694400000,3.326],[1444780800000,3.34366],[1444867200000,3.34366],[1444953600000,3.32546],[1445040000000,3.24332],[1445126400000,3.24332],[1445212800000,3.24332],[1445299200000,3.28442],[1445385600000,3.35242],[1445472000000,3.44128],[1445558400000,3.379],[1445644800000,3.35426],[1445731200000,3.35426],[1445817600000,3.35426],[1445904000000,3.38079],[1445990400000,3.38995],[1446076800000,3.40081],[1446163200000,3.35685],[1446249600000,3.39674],[1446336000000,3.39674],[1446422400000,3.39674],[1446508800000,3.40422],[1446595200000,3.38747],[1446681600000,3.38359],[1446768000000,3.34484],[1446854400000,3.29837],[1446940800000,3.29837],[1447027200000,3.29837],[1447113600000,3.28696],[1447200000000,3.26801],[1447286400000,3.26877],[1447372800000,3.29495],[1447459200000,3.32702],[1447545600000,3.32702],[1447632000000,3.32702],[1447718400000,3.33533],[1447804800000,3.39937],[1447891200000,3.4187],[1447977600000,3.415],[1448064000000,3.4362],[1448150400000,3.4362],[1448236800000,3.4362],[1448323200000,3.42895],[1448409600000,3.41912],[1448496000000,3.37301],[1448582400000,3.35667],[1448668800000,3.38717],[1448755200000,3.38717],[1448841600000,3.38717],[1448928000000,3.39589],[1449014400000,3.38758],[1449100800000,3.36429],[1449187200000,3.3034],[1449273600000,3.45586],[1449360000000,3.45586],[1449446400000,3.45586],[1449532800000,3.39752],[1449619200000,3.33991],[1449705600000,3.35741],[1449792000000,3.42746],[1449878400000,3.50183],[1449964800000,3.50183],[1450051200000,3.50183],[1450137600000,3.5052],[1450224000000,3.45418],[1450310400000,3.44608],[1450396800000,3.41272],[1450483200000,3.41963],[1450569600000,3.41963],[1450656000000,3.41963],[1450742400000,3.42638],[1450828800000,3.3975],[1450915200000,3.36436],[1451001600000,3.3686],[1451088000000,3.39398],[1451174400000,3.39398],[1451260800000,3.39398],[1451347200000,3.49691],[1451433600000,3.49135]], 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: [[1421280000000, 2.493860],[1421280000000, 2.493860],[1423958400000, 3.706242],[1426377600000, 3.407884],[1429056000000, 3.259030],[1431648000000, 3.137157],[1434326400000, 3.192914],[1436918400000, 3.210909],[1439596800000, 3.213578],[1442275200000, 3.261430],[1444867200000, 3.290505],[1447545600000, 3.364156],[1450137600000, 3.424666]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });