$(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: [[1514764800000,1.30612],[1514851200000,1.30612],[1514937600000,1.30612],[1515024000000,1.31269],[1515110400000,1.32464],[1515196800000,1.3273],[1515283200000,1.3273],[1515369600000,1.3273],[1515456000000,1.3273],[1515542400000,1.31788],[1515628800000,1.32858],[1515715200000,1.33805],[1515801600000,1.35711],[1515888000000,1.35711],[1515974400000,1.35711],[1516060800000,1.37372],[1516147200000,1.37334],[1516233600000,1.37467],[1516320000000,1.3881],[1516406400000,1.3899],[1516492800000,1.3899],[1516579200000,1.3899],[1516665600000,1.39144],[1516752000000,1.39183],[1516838400000,1.40516],[1516924800000,1.40515],[1517011200000,1.40013],[1517097600000,1.40013],[1517184000000,1.40013],[1517270400000,1.38223],[1517356800000,1.37346],[1517443200000,1.37245],[1517529600000,1.37423],[1517616000000,1.38284],[1517702400000,1.38284],[1517788800000,1.38284],[1517875200000,1.36973],[1517961600000,1.34176],[1518048000000,1.32621],[1518134400000,1.31629],[1518220800000,1.31079],[1518307200000,1.31079],[1518393600000,1.31079],[1518480000000,1.29799],[1518566400000,1.29711],[1518652800000,1.29733],[1518739200000,1.31774],[1518825600000,1.3276],[1518912000000,1.3276],[1518998400000,1.3276],[1519084800000,1.32356],[1519171200000,1.31954],[1519257600000,1.31019],[1519344000000,1.31274],[1519430400000,1.31007],[1519516800000,1.31007],[1519603200000,1.31007],[1519689600000,1.31039],[1519776000000,1.30518],[1519862400000,1.28807],[1519948800000,1.27622],[1520035200000,1.2858],[1520121600000,1.2858],[1520208000000,1.2858],[1520294400000,1.28293],[1520380800000,1.28848],[1520467200000,1.27457],[1520553600000,1.27457],[1520640000000,1.27457],[1520726400000,1.27457],[1520812800000,1.27457],[1520899200000,1.25324],[1520985600000,1.25942],[1521072000000,1.26446],[1521158400000,1.2757],[1521244800000,1.27554],[1521331200000,1.27554],[1521417600000,1.27554],[1521504000000,1.2795],[1521590400000,1.27],[1521676800000,1.27011],[1521763200000,1.27304],[1521849600000,1.27642],[1521936000000,1.27642],[1522022400000,1.27642],[1522108800000,1.28297],[1522195200000,1.27808],[1522281600000,1.28573],[1522368000000,1.2863],[1522454400000,1.27484],[1522540800000,1.27484],[1522627200000,1.27484],[1522713600000,1.26777],[1522800000000,1.2775],[1522886400000,1.27232],[1522972800000,1.2618],[1523059200000,1.25662],[1523145600000,1.25662],[1523232000000,1.25662],[1523318400000,1.25662],[1523404800000,1.26735],[1523491200000,1.26788],[1523577600000,1.26493],[1523664000000,1.27151],[1523750400000,1.27151],[1523836800000,1.27151],[1523923200000,1.27736],[1524009600000,1.27626],[1524096000000,1.28016],[1524182400000,1.28215],[1524268800000,1.27163],[1524355200000,1.27163],[1524441600000,1.27163],[1524528000000,1.25836],[1524614400000,1.25684],[1524700800000,1.257],[1524787200000,1.25301],[1524873600000,1.24134],[1524960000000,1.24134],[1525046400000,1.24134],[1525132800000,1.24134],[1525219200000,1.24134],[1525305600000,1.22669],[1525392000000,1.22763],[1525478400000,1.23456],[1525564800000,1.23456],[1525651200000,1.23456],[1525737600000,1.22622],[1525824000000,1.21923],[1525910400000,1.21923],[1525996800000,1.22014],[1526083200000,1.22578],[1526169600000,1.22578],[1526256000000,1.22578],[1526342400000,1.23094],[1526428800000,1.21899],[1526515200000,1.20899],[1526601600000,1.20968],[1526688000000,1.20379],[1526774400000,1.20379],[1526860800000,1.20379],[1526947200000,1.19438],[1527033600000,1.19634],[1527120000000,1.18298],[1527206400000,1.18636],[1527292800000,1.18492],[1527379200000,1.18492],[1527465600000,1.18492],[1527552000000,1.18492],[1527638400000,1.16436],[1527724800000,1.17674],[1527811200000,1.18465],[1527897600000,1.17986],[1527984000000,1.17986],[1528070400000,1.17986],[1528156800000,1.19365],[1528243200000,1.1904],[1528329600000,1.20009],[1528416000000,1.20814],[1528502400000,1.19096],[1528588800000,1.19096],[1528675200000,1.19096],[1528761600000,1.19779],[1528848000000,1.19881],[1528934400000,1.19531],[1529020800000,1.19901],[1529107200000,1.18673],[1529193600000,1.18673],[1529280000000,1.18673],[1529366400000,1.18792],[1529452800000,1.18179],[1529539200000,null],[1529625600000,1.17353],[1529712000000,1.18498],[1529798400000,1.18498],[1529884800000,1.18498],[1529971200000,1.18077],[1530057600000,1.18023],[1530144000000,1.18641],[1530230400000,1.18641],[1530316800000,1.18641],[1530403200000,1.18641],[1530489600000,1.18641],[1530576000000,1.17441],[1530662400000,1.17662],[1530748800000,1.18254],[1530835200000,1.1931],[1530921600000,1.1893],[1531008000000,1.1893],[1531094400000,1.1893],[1531180800000,1.19676],[1531267200000,1.18537],[1531353600000,1.187],[1531440000000,1.17884],[1531526400000,1.17819],[1531612800000,1.17819],[1531699200000,1.17819],[1531785600000,1.18666],[1531872000000,1.18638],[1531958400000,1.18132],[1532044800000,1.1835],[1532131200000,1.19276],[1532217600000,1.19276],[1532304000000,1.19276],[1532390400000,1.19887],[1532476800000,1.20796],[1532563200000,1.21234],[1532649600000,1.21748],[1532736000000,1.2142],[1532822400000,1.2142],[1532908800000,1.2142],[1532995200000,1.21998],[1533081600000,null],[1533168000000,1.23231],[1533254400000,1.2263],[1533340800000,1.22364],[1533427200000,1.22364],[1533513600000,1.22364],[1533600000000,1.22098],[1533686400000,1.22432],[1533772800000,1.22159],[1533859200000,1.22918],[1533945600000,1.21758],[1534032000000,1.21758],[1534118400000,1.21758],[1534204800000,1.21534],[1534291200000,1.21904],[1534377600000,1.20895],[1534464000000,1.22408],[1534550400000,1.23515],[1534636800000,1.23515],[1534723200000,1.23515],[1534809600000,1.23044],[1534896000000,1.23835],[1534982400000,1.25916],[1535068800000,1.25428],[1535155200000,1.25428],[1535241600000,1.25428],[1535328000000,1.25428],[1535414400000,1.26006],[1535500800000,1.27748],[1535587200000,1.2734],[1535673600000,1.2841],[1535760000000,1.27879],[1535846400000,1.27879],[1535932800000,1.27879],[1536019200000,1.27944],[1536105600000,1.28046],[1536192000000,1.27811],[1536278400000,1.27694],[1536364800000,1.27757],[1536451200000,1.27757],[1536537600000,1.27757],[1536624000000,1.27226],[1536710400000,1.26795],[1536796800000,1.26879],[1536883200000,1.2807],[1536969600000,1.29184],[1537056000000,1.29184],[1537142400000,1.29184],[1537228800000,1.2895],[1537315200000,1.29394],[1537401600000,1.28992],[1537488000000,1.2921],[1537574400000,1.28978],[1537660800000,1.28978],[1537747200000,1.28978],[1537833600000,1.29202],[1537920000000,1.29027],[1538006400000,1.29003],[1538092800000,1.28831],[1538179200000,1.27182],[1538265600000,1.27182],[1538352000000,1.27182],[1538438400000,1.27086],[1538524800000,1.26568],[1538611200000,1.26863],[1538697600000,1.25706],[1538784000000,1.25532],[1538870400000,1.25532],[1538956800000,1.25532],[1539043200000,1.25265],[1539129600000,1.24438],[1539216000000,1.24785],[1539302400000,1.25318],[1539388800000,1.25399],[1539475200000,1.25399],[1539561600000,1.25399],[1539648000000,1.25399],[1539734400000,1.25334],[1539820800000,1.24553],[1539907200000,1.24719],[1539993600000,1.24965],[1540080000000,1.24965],[1540166400000,1.24965],[1540252800000,1.24867],[1540339200000,1.25164],[1540425600000,1.24383],[1540512000000,1.25229],[1540598400000,1.24005],[1540684800000,1.24005],[1540771200000,1.24005],[1540857600000,1.24172],[1540944000000,1.23806],[1541030400000,1.22772],[1541116800000,1.23962],[1541203200000,1.2458],[1541289600000,1.2458],[1541376000000,1.2458],[1541462400000,1.23243],[1541548800000,1.23671],[1541635200000,1.23822],[1541721600000,1.23241],[1541808000000,1.22015],[1541894400000,1.22015],[1541980800000,1.22015],[1542067200000,1.21169],[1542153600000,1.21202],[1542240000000,1.20979],[1542326400000,1.20834],[1542412800000,1.21188],[1542499200000,1.21188],[1542585600000,1.21188],[1542672000000,1.21965],[1542758400000,1.21808],[1542844800000,1.21869],[1542931200000,1.21734],[1543017600000,1.21576],[1543104000000,1.21576],[1543190400000,1.21576],[1543276800000,1.22313],[1543363200000,1.22859],[1543449600000,1.23014],[1543536000000,1.24499],[1543622400000,1.23505],[1543708800000,1.23505],[1543795200000,1.23505],[1543881600000,1.23164],[1543968000000,1.2389],[1544054400000,1.22706],[1544140800000,1.22233],[1544227200000,1.2239],[1544313600000,1.2239],[1544400000000,1.2239],[1544486400000,1.2269],[1544572800000,1.22015],[1544659200000,1.21979],[1544745600000,1.22682],[1544832000000,1.21789],[1544918400000,1.21789],[1545004800000,1.21789],[1545091200000,1.22575],[1545177600000,1.23025],[1545264000000,1.22691],[1545350400000,1.22586],[1545436800000,1.2111],[1545523200000,1.2111],[1545609600000,1.2111],[1545696000000,1.2111],[1545782400000,1.2111],[1545868800000,1.2003],[1545955200000,1.20796],[1546041600000,1.23028],[1546128000000,1.23028]], 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, 1.359676],[1515974400000, 1.359676],[1518652800000, 1.328084],[1521072000000, 1.276621],[1523750400000, 1.265009],[1526342400000, 1.210440],[1529020800000, 1.188239],[1531612800000, 1.192429],[1534291200000, 1.236378],[1536969600000, 1.282944],[1539561600000, 1.251787],[1542240000000, 1.224346],[1544832000000, 1.222823]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });