$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1514764800000,21.8496],[1514851200000,21.8496],[1514937600000,21.8496],[1515024000000,21.8611],[1515110400000,21.9497],[1515196800000,22.115],[1515283200000,22.115],[1515369600000,22.115],[1515456000000,22.115],[1515542400000,22.0785],[1515628800000,22.2198],[1515715200000,22.3697],[1515801600000,22.4654],[1515888000000,22.4654],[1515974400000,22.4654],[1516060800000,22.7242],[1516147200000,22.7857],[1516233600000,22.8427],[1516320000000,22.9961],[1516406400000,23.1011],[1516492800000,23.1011],[1516579200000,23.1011],[1516665600000,23.1184],[1516752000000,23.0111],[1516838400000,23.2884],[1516924800000,23.2219],[1517011200000,23.0839],[1517097600000,23.0839],[1517184000000,23.0839],[1517270400000,22.8508],[1517356800000,22.6717],[1517443200000,22.5856],[1517529600000,22.3052],[1517616000000,22.2883],[1517702400000,22.2883],[1517788800000,22.2883],[1517875200000,22.0324],[1517961600000,21.5263],[1518048000000,21.334],[1518134400000,21.1752],[1518220800000,21.1239],[1518307200000,21.1239],[1518393600000,21.1239],[1518480000000,21.0383],[1518566400000,20.9535],[1518652800000,20.9545],[1518739200000,21.2166],[1518825600000,21.4345],[1518912000000,21.4345],[1518998400000,21.4345],[1519084800000,21.3842],[1519171200000,21.3497],[1519257600000,21.1857],[1519344000000,21.1691],[1519430400000,21.1154],[1519516800000,21.1154],[1519603200000,21.1154],[1519689600000,21.179],[1519776000000,21.1167],[1519862400000,20.9377],[1519948800000,20.6144],[1520035200000,20.5672],[1520121600000,20.5672],[1520208000000,20.5672],[1520294400000,20.5146],[1520380800000,20.645],[1520467200000,20.3664],[1520553600000,20.3664],[1520640000000,20.3664],[1520726400000,20.3664],[1520812800000,20.3664],[1520899200000,20.3903],[1520985600000,20.4544],[1521072000000,20.5681],[1521158400000,20.6057],[1521244800000,20.4401],[1521331200000,20.4401],[1521417600000,20.4401],[1521504000000,20.3452],[1521590400000,20.2631],[1521676800000,20.1881],[1521763200000,20.2416],[1521849600000,20.295],[1521936000000,20.295],[1522022400000,20.295],[1522108800000,20.343],[1522195200000,20.2593],[1522281600000,20.2933],[1522368000000,20.3943],[1522454400000,20.2126],[1522540800000,20.2126],[1522627200000,20.2126],[1522713600000,20.1003],[1522800000000,20.2616],[1522886400000,20.1781],[1522972800000,20.0487],[1523059200000,19.9833],[1523145600000,19.9833],[1523232000000,19.9833],[1523318400000,19.9833],[1523404800000,20.0979],[1523491200000,20.0918],[1523577600000,20.1491],[1523664000000,20.3646],[1523750400000,20.3646],[1523836800000,20.3646],[1523923200000,20.2614],[1524009600000,20.2581],[1524096000000,20.3046],[1524182400000,20.4335],[1524268800000,20.1608],[1524355200000,20.1608],[1524441600000,20.1608],[1524528000000,19.9703],[1524614400000,19.9341],[1524700800000,19.8602],[1524787200000,19.8611],[1524873600000,19.7923],[1524960000000,19.7923],[1525046400000,19.7923],[1525132800000,19.7923],[1525219200000,19.7923],[1525305600000,19.6437],[1525392000000,19.7217],[1525478400000,19.7833],[1525564800000,19.7833],[1525651200000,19.7833],[1525737600000,19.7019],[1525824000000,19.5379],[1525910400000,19.5379],[1525996800000,19.6099],[1526083200000,19.7865],[1526169600000,19.7865],[1526256000000,19.7865],[1526342400000,19.7806],[1526428800000,19.642],[1526515200000,19.6199],[1526601600000,19.7155],[1526688000000,19.6548],[1526774400000,19.6548],[1526860800000,19.6548],[1526947200000,19.6374],[1527033600000,19.7828],[1527120000000,19.645],[1527206400000,19.7299],[1527292800000,19.7935],[1527379200000,19.7935],[1527465600000,19.7935],[1527552000000,19.7935],[1527638400000,19.6311],[1527724800000,19.7295],[1527811200000,19.8265],[1527897600000,19.6672],[1527984000000,19.6672],[1528070400000,19.6672],[1528156800000,20.0328],[1528243200000,19.9135],[1528329600000,20.0326],[1528416000000,20.0406],[1528502400000,19.825],[1528588800000,19.825],[1528675200000,19.825],[1528761600000,19.845],[1528848000000,19.8323],[1528934400000,19.8198],[1529020800000,19.8245],[1529107200000,19.6646],[1529193600000,19.6646],[1529280000000,19.6646],[1529366400000,19.5874],[1529452800000,19.4351],[1529539200000,null],[1529625600000,19.3764],[1529712000000,19.4905],[1529798400000,19.4905],[1529884800000,19.4905],[1529971200000,19.4531],[1530057600000,19.3738],[1530144000000,19.448],[1530230400000,19.448],[1530316800000,19.448],[1530403200000,19.448],[1530489600000,19.448],[1530576000000,19.2937],[1530662400000,19.4646],[1530748800000,19.5262],[1530835200000,19.5605],[1530921600000,19.516],[1531008000000,19.516],[1531094400000,19.516],[1531180800000,19.6419],[1531267200000,19.5049],[1531353600000,19.3948],[1531440000000,19.3793],[1531526400000,19.3754],[1531612800000,19.3754],[1531699200000,19.3754],[1531785600000,19.4728],[1531872000000,19.4166],[1531958400000,19.337],[1532044800000,19.4104],[1532131200000,19.5111],[1532217600000,19.5111],[1532304000000,19.5111],[1532390400000,19.5869],[1532476800000,19.6989],[1532563200000,19.743],[1532649600000,19.7725],[1532736000000,19.7337],[1532822400000,19.7337],[1532908800000,19.7337],[1532995200000,19.7916],[1533081600000,null],[1533168000000,20.0006],[1533254400000,19.8845],[1533340800000,20.0109],[1533427200000,20.0109],[1533513600000,20.0109],[1533600000000,20.0385],[1533686400000,20.0973],[1533772800000,19.9693],[1533859200000,20.1141],[1533945600000,19.9123],[1534032000000,19.9123],[1534118400000,19.9123],[1534204800000,19.8985],[1534291200000,19.9539],[1534377600000,19.8328],[1534464000000,20.107],[1534550400000,20.2803],[1534636800000,20.2803],[1534723200000,20.2803],[1534809600000,20.2352],[1534896000000,20.356],[1534982400000,20.5206],[1535068800000,20.2991],[1535155200000,20.2991],[1535241600000,20.2991],[1535328000000,20.2991],[1535414400000,20.4198],[1535500800000,20.628],[1535587200000,20.5039],[1535673600000,20.6458],[1535760000000,20.404],[1535846400000,20.404],[1535932800000,20.404],[1536019200000,20.4509],[1536105600000,20.4733],[1536192000000,20.383],[1536278400000,20.3146],[1536364800000,20.2416],[1536451200000,20.2416],[1536537600000,20.2416],[1536624000000,20.072],[1536710400000,19.9374],[1536796800000,19.9583],[1536883200000,20.2161],[1536969600000,20.238],[1537056000000,20.238],[1537142400000,20.238],[1537228800000,20.1911],[1537315200000,20.271],[1537401600000,20.3662],[1537488000000,20.4394],[1537574400000,20.4278],[1537660800000,20.4278],[1537747200000,20.4278],[1537833600000,20.4455],[1537920000000,20.3571],[1538006400000,20.3871],[1538092800000,20.4499],[1538179200000,20.3921],[1538265600000,20.3921],[1538352000000,20.3921],[1538438400000,20.3756],[1538524800000,20.2968],[1538611200000,20.2552],[1538697600000,19.9624],[1538784000000,19.8613],[1538870400000,19.8613],[1538956800000,19.8613],[1539043200000,19.8494],[1539129600000,19.818],[1539216000000,19.8712],[1539302400000,19.8554],[1539388800000,19.9089],[1539475200000,19.9089],[1539561600000,19.9089],[1539648000000,19.9089],[1539734400000,19.924],[1539820800000,19.8815],[1539907200000,20.0113],[1539993600000,20.1212],[1540080000000,20.1212],[1540166400000,20.1212],[1540252800000,19.9417],[1540339200000,19.8916],[1540425600000,19.9987],[1540512000000,20.0981],[1540598400000,19.866],[1540684800000,19.866],[1540771200000,19.866],[1540857600000,19.9846],[1540944000000,19.9866],[1541030400000,19.9254],[1541116800000,20.231],[1541203200000,20.2773],[1541289600000,20.2773],[1541376000000,20.2773],[1541462400000,20.1566],[1541548800000,20.2343],[1541635200000,20.3462],[1541721600000,20.3622],[1541808000000,20.2042],[1541894400000,20.2042],[1541980800000,20.2042],[1542067200000,20.1201],[1542153600000,20.1169],[1542240000000,20.0852],[1542326400000,20.174],[1542412800000,20.1567],[1542499200000,20.1567],[1542585600000,20.1567],[1542672000000,20.2598],[1542758400000,20.1815],[1542844800000,20.1516],[1542931200000,20.125],[1543017600000,20.0877],[1543104000000,20.0877],[1543190400000,20.0877],[1543276800000,20.2381],[1543363200000,20.3683],[1543449600000,20.4545],[1543536000000,20.8237],[1543622400000,20.5964],[1543708800000,20.5964],[1543795200000,20.5964],[1543881600000,20.7929],[1543968000000,20.7681],[1544054400000,20.4018],[1544140800000,20.0991],[1544227200000,20.0678],[1544313600000,20.0678],[1544400000000,20.0678],[1544486400000,20.0322],[1544572800000,19.9866],[1544659200000,20.0554],[1544745600000,20.146],[1544832000000,19.9417],[1544918400000,19.9417],[1545004800000,19.9417],[1545091200000,20.0149],[1545177600000,20.0396],[1545264000000,19.9076],[1545350400000,19.6749],[1545436800000,19.4721],[1545523200000,19.4721],[1545609600000,19.4721],[1545696000000,19.4721],[1545782400000,19.4721],[1545868800000,19.2185],[1545955200000,19.3277],[1546041600000,19.5585],[1546128000000,19.5585]], 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, 22.579038],[1515974400000, 22.579038],[1518652800000, 21.442580],[1521072000000, 20.419655],[1523750400000, 20.104071],[1526342400000, 19.712881],[1529020800000, 19.678583],[1531612800000, 19.525808],[1534291200000, 20.167088],[1536969600000, 20.314373],[1539561600000, 19.986307],[1542240000000, 20.217737],[1544832000000, 19.945780]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });