$(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: [[1514764800000,4.49875],[1514851200000,4.49875],[1514937600000,4.49875],[1515024000000,4.50455],[1515110400000,4.53977],[1515196800000,4.56236],[1515283200000,4.56236],[1515369600000,4.56236],[1515456000000,4.56236],[1515542400000,4.51894],[1515628800000,4.56189],[1515715200000,4.58995],[1515801600000,4.64979],[1515888000000,4.64979],[1515974400000,4.64979],[1516060800000,4.70797],[1516147200000,4.70414],[1516233600000,4.69743],[1516320000000,4.72766],[1516406400000,4.74781],[1516492800000,4.74781],[1516579200000,4.74781],[1516665600000,4.74747],[1516752000000,4.74999],[1516838400000,4.78899],[1516924800000,4.79075],[1517011200000,4.77013],[1517097600000,4.77013],[1517184000000,4.77013],[1517270400000,4.69808],[1517356800000,4.67509],[1517443200000,4.66072],[1517529600000,4.66526],[1517616000000,4.68052],[1517702400000,4.68052],[1517788800000,4.68052],[1517875200000,4.6366],[1517961600000,4.54883],[1518048000000,4.49553],[1518134400000,4.46539],[1518220800000,4.46135],[1518307200000,4.46135],[1518393600000,4.46135],[1518480000000,4.42052],[1518566400000,4.42064],[1518652800000,4.4186],[1518739200000,4.48781],[1518825600000,4.51678],[1518912000000,4.51678],[1518998400000,4.51678],[1519084800000,4.50078],[1519171200000,4.48592],[1519257600000,4.46219],[1519344000000,4.46314],[1519430400000,4.45734],[1519516800000,4.45734],[1519603200000,4.45734],[1519689600000,4.46852],[1519776000000,4.45191],[1519862400000,4.39673],[1519948800000,4.35873],[1520035200000,4.38661],[1520121600000,4.38661],[1520208000000,4.38661],[1520294400000,4.37658],[1520380800000,4.38984],[1520467200000,4.34899],[1520553600000,4.34899],[1520640000000,4.34899],[1520726400000,4.34899],[1520812800000,4.34899],[1520899200000,4.2811],[1520985600000,4.30667],[1521072000000,4.31942],[1521158400000,4.35285],[1521244800000,4.35222],[1521331200000,4.35222],[1521417600000,4.35222],[1521504000000,4.36874],[1521590400000,4.33473],[1521676800000,4.33488],[1521763200000,4.34107],[1521849600000,4.35395],[1521936000000,4.35395],[1522022400000,4.35395],[1522108800000,4.38312],[1522195200000,4.37066],[1522281600000,4.39349],[1522368000000,4.38806],[1522454400000,4.34898],[1522540800000,4.34898],[1522627200000,4.34898],[1522713600000,4.32482],[1522800000000,4.35032],[1522886400000,4.32765],[1522972800000,4.29122],[1523059200000,4.2755],[1523145600000,4.2755],[1523232000000,4.2755],[1523318400000,4.2755],[1523404800000,4.3117],[1523491200000,4.31257],[1523577600000,4.30122],[1523664000000,4.32111],[1523750400000,4.32111],[1523836800000,4.32111],[1523923200000,4.33344],[1524009600000,4.32777],[1524096000000,4.34919],[1524182400000,4.36008],[1524268800000,4.32658],[1524355200000,4.32658],[1524441600000,4.32658],[1524528000000,4.29293],[1524614400000,4.29258],[1524700800000,4.29737],[1524787200000,4.28361],[1524873600000,4.24399],[1524960000000,4.24399],[1525046400000,4.24399],[1525132800000,4.24399],[1525219200000,4.24399],[1525305600000,4.21603],[1525392000000,4.21612],[1525478400000,4.22664],[1525564800000,4.22664],[1525651200000,4.22664],[1525737600000,4.20087],[1525824000000,4.17728],[1525910400000,4.17728],[1525996800000,4.1762],[1526083200000,4.19672],[1526169600000,4.19672],[1526256000000,4.19672],[1526342400000,4.211],[1526428800000,4.18116],[1526515200000,4.14619],[1526601600000,4.15084],[1526688000000,4.13583],[1526774400000,4.13583],[1526860800000,4.13583],[1526947200000,4.11861],[1527033600000,4.12851],[1527120000000,4.0991],[1527206400000,4.11014],[1527292800000,4.09875],[1527379200000,4.09875],[1527465600000,4.09875],[1527552000000,4.09875],[1527638400000,4.05288],[1527724800000,4.08442],[1527811200000,4.10561],[1527897600000,4.09349],[1527984000000,4.09349],[1528070400000,4.09349],[1528156800000,4.12072],[1528243200000,4.10311],[1528329600000,4.1351],[1528416000000,4.15891],[1528502400000,4.12492],[1528588800000,4.12492],[1528675200000,4.12492],[1528761600000,4.12953],[1528848000000,4.12761],[1528934400000,4.125],[1529020800000,4.12833],[1529107200000,4.09588],[1529193600000,4.09588],[1529280000000,4.09588],[1529366400000,4.10414],[1529452800000,4.09281],[1529539200000,null],[1529625600000,4.07288],[1529712000000,4.101],[1529798400000,4.101],[1529884800000,4.101],[1529971200000,4.10955],[1530057600000,4.10254],[1530144000000,4.10458],[1530230400000,4.10458],[1530316800000,4.10458],[1530403200000,4.10458],[1530489600000,4.10458],[1530576000000,4.09807],[1530662400000,4.11753],[1530748800000,4.13103],[1530835200000,4.15352],[1530921600000,4.13976],[1531008000000,4.13976],[1531094400000,4.13976],[1531180800000,4.15191],[1531267200000,4.11865],[1531353600000,4.12896],[1531440000000,4.10128],[1531526400000,4.09675],[1531612800000,4.09675],[1531699200000,4.09675],[1531785600000,4.12003],[1531872000000,4.11827],[1531958400000,4.09702],[1532044800000,4.11557],[1532131200000,4.14152],[1532217600000,4.14152],[1532304000000,4.14152],[1532390400000,4.15902],[1532476800000,4.17673],[1532563200000,4.17737],[1532649600000,4.19029],[1532736000000,4.17587],[1532822400000,4.17587],[1532908800000,4.17587],[1532995200000,4.19647],[1533081600000,null],[1533168000000,4.23208],[1533254400000,4.21119],[1533340800000,4.21263],[1533427200000,4.21263],[1533513600000,4.21263],[1533600000000,4.20265],[1533686400000,4.2069],[1533772800000,4.19217],[1533859200000,4.21509],[1533945600000,4.18714],[1534032000000,4.18714],[1534118400000,4.18714],[1534204800000,4.18333],[1534291200000,4.20144],[1534377600000,4.16713],[1534464000000,4.21887],[1534550400000,4.26121],[1534636800000,4.26121],[1534723200000,4.26121],[1534809600000,4.24058],[1534896000000,4.27323],[1534982400000,4.34276],[1535068800000,4.3238],[1535155200000,4.3238],[1535241600000,4.3238],[1535328000000,4.3238],[1535414400000,4.34943],[1535500800000,4.40475],[1535587200000,4.39631],[1535673600000,4.43412],[1535760000000,4.41395],[1535846400000,4.41395],[1535932800000,4.41395],[1536019200000,4.41993],[1536105600000,4.41923],[1536192000000,4.41345],[1536278400000,4.40363],[1536364800000,4.40195],[1536451200000,4.40195],[1536537600000,4.40195],[1536624000000,4.37536],[1536710400000,4.35926],[1536796800000,4.35266],[1536883200000,4.38139],[1536969600000,4.41136],[1537056000000,4.41136],[1537142400000,4.41136],[1537228800000,4.40072],[1537315200000,4.41385],[1537401600000,4.39801],[1537488000000,4.42755],[1537574400000,4.42366],[1537660800000,4.42366],[1537747200000,4.42366],[1537833600000,4.43653],[1537920000000,4.43016],[1538006400000,4.42873],[1538092800000,4.44139],[1538179200000,4.38888],[1538265600000,4.38888],[1538352000000,4.38888],[1538438400000,4.39176],[1538524800000,4.37753],[1538611200000,4.38585],[1538697600000,4.34602],[1538784000000,4.33233],[1538870400000,4.33233],[1538956800000,4.33233],[1539043200000,4.32168],[1539129600000,4.3049],[1539216000000,4.31674],[1539302400000,4.34193],[1539388800000,4.33287],[1539475200000,4.33287],[1539561600000,4.33287],[1539648000000,4.33287],[1539734400000,4.33762],[1539820800000,4.31454],[1539907200000,4.32353],[1539993600000,4.33273],[1540080000000,4.33273],[1540166400000,4.33273],[1540252800000,4.32632],[1540339200000,4.33091],[1540425600000,4.30699],[1540512000000,4.3356],[1540598400000,4.29822],[1540684800000,4.29822],[1540771200000,4.29822],[1540857600000,4.30178],[1540944000000,4.29257],[1541030400000,4.26527],[1541116800000,4.30007],[1541203200000,4.30536],[1541289600000,4.30536],[1541376000000,4.30536],[1541462400000,4.27012],[1541548800000,4.28297],[1541635200000,4.29572],[1541721600000,4.27678],[1541808000000,4.24241],[1541894400000,4.24241],[1541980800000,4.24241],[1542067200000,4.21378],[1542153600000,4.21356],[1542240000000,4.21428],[1542326400000,4.20771],[1542412800000,4.22027],[1542499200000,4.22027],[1542585600000,4.22027],[1542672000000,4.25151],[1542758400000,4.24901],[1542844800000,4.2468],[1542931200000,4.24019],[1543017600000,4.22872],[1543104000000,4.22872],[1543190400000,4.22872],[1543276800000,4.24878],[1543363200000,4.26682],[1543449600000,4.27506],[1543536000000,4.33234],[1543622400000,4.29608],[1543708800000,4.29608],[1543795200000,4.29608],[1543881600000,4.27827],[1543968000000,4.29996],[1544054400000,4.25614],[1544140800000,4.24012],[1544227200000,4.23882],[1544313600000,4.23882],[1544400000000,4.23882],[1544486400000,4.2518],[1544572800000,4.22486],[1544659200000,4.22705],[1544745600000,4.24499],[1544832000000,4.20786],[1544918400000,4.20786],[1545004800000,4.20786],[1545091200000,4.23601],[1545177600000,4.24273],[1545264000000,4.23312],[1545350400000,4.22893],[1545436800000,4.19353],[1545523200000,4.19353],[1545609600000,4.19353],[1545696000000,4.19353],[1545782400000,4.19353],[1545868800000,4.16633],[1545955200000,4.18303],[1546041600000,4.24707],[1546128000000,4.24707]], 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: [[1515974400000, 4.653276],[1515974400000, 4.653276],[1518652800000, 4.514297],[1521072000000, 4.357063],[1523750400000, 4.307716],[1526342400000, 4.161522],[1529020800000, 4.109498],[1531612800000, 4.136213],[1534291200000, 4.258338],[1536969600000, 4.407746],[1539561600000, 4.331176],[1542240000000, 4.254701],[1544832000000, 4.233887]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });