$(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: 'Курс NOK, грн'}, 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: 'Курс NOK', data: [[1514764800000,3.39469],[1514851200000,3.39469],[1514937600000,3.39469],[1515024000000,3.44138],[1515110400000,3.46097],[1515196800000,3.48713],[1515283200000,3.48713],[1515369600000,3.48713],[1515456000000,3.48713],[1515542400000,3.47951],[1515628800000,3.5223],[1515715200000,3.5337],[1515801600000,3.58577],[1515888000000,3.58577],[1515974400000,3.58577],[1516060800000,3.62664],[1516147200000,3.63855],[1516233600000,3.63555],[1516320000000,3.66713],[1516406400000,3.67292],[1516492800000,3.67292],[1516579200000,3.67292],[1516665600000,3.67284],[1516752000000,3.66845],[1516838400000,3.7034],[1516924800000,3.72053],[1517011200000,3.71158],[1517097600000,3.71158],[1517184000000,3.71158],[1517270400000,3.65956],[1517356800000,3.63803],[1517443200000,3.62734],[1517529600000,3.62808],[1517616000000,3.6416],[1517702400000,3.6416],[1517788800000,3.6416],[1517875200000,3.59092],[1517961600000,3.49018],[1518048000000,3.46314],[1518134400000,3.43097],[1518220800000,3.38926],[1518307200000,3.38926],[1518393600000,3.38926],[1518480000000,3.3767],[1518566400000,3.38012],[1518652800000,3.38795],[1518739200000,3.43411],[1518825600000,3.475],[1518912000000,3.475],[1518998400000,3.475],[1519084800000,3.47106],[1519171200000,3.45542],[1519257600000,3.44614],[1519344000000,3.42991],[1519430400000,3.43013],[1519516800000,3.43013],[1519603200000,3.43013],[1519689600000,3.45494],[1519776000000,3.44262],[1519862400000,3.40502],[1519948800000,3.36019],[1520035200000,3.39693],[1520121600000,3.39693],[1520208000000,3.39693],[1520294400000,3.38314],[1520380800000,3.40182],[1520467200000,3.34806],[1520553600000,3.34806],[1520640000000,3.34806],[1520726400000,3.34806],[1520812800000,3.34806],[1520899200000,3.33446],[1520985600000,3.34823],[1521072000000,3.36126],[1521158400000,3.41016],[1521244800000,3.41565],[1521331200000,3.41565],[1521417600000,3.41565],[1521504000000,3.4179],[1521590400000,3.40357],[1521676800000,3.39782],[1521763200000,3.39258],[1521849600000,3.38791],[1521936000000,3.38791],[1522022400000,3.38791],[1522108800000,3.41443],[1522195200000,3.4054],[1522281600000,3.39517],[1522368000000,3.37958],[1522454400000,3.34948],[1522540800000,3.34948],[1522627200000,3.34948],[1522713600000,3.33088],[1522800000000,3.36383],[1522886400000,3.34636],[1522972800000,3.33325],[1523059200000,3.32166],[1523145600000,3.32166],[1523232000000,3.32166],[1523318400000,3.32166],[1523404800000,3.32832],[1523491200000,3.33704],[1523577600000,3.33666],[1523664000000,3.36439],[1523750400000,3.36439],[1523836800000,3.36439],[1523923200000,3.36346],[1524009600000,3.35805],[1524096000000,3.37082],[1524182400000,3.38878],[1524268800000,3.35482],[1524355200000,3.35482],[1524441600000,3.35482],[1524528000000,3.32154],[1524614400000,3.32021],[1524700800000,3.29837],[1524787200000,3.2994],[1524873600000,3.27344],[1524960000000,3.27344],[1525046400000,3.27344],[1525132800000,3.27344],[1525219200000,3.27344],[1525305600000,3.23897],[1525392000000,3.25598],[1525478400000,3.26473],[1525564800000,3.26473],[1525651200000,3.26473],[1525737600000,3.253],[1525824000000,3.23403],[1525910400000,3.23403],[1525996800000,3.25873],[1526083200000,3.27636],[1526169600000,3.27636],[1526256000000,3.27636],[1526342400000,3.27999],[1526428800000,3.25549],[1526515200000,3.22663],[1526601600000,3.23507],[1526688000000,3.21645],[1526774400000,3.21645],[1526860800000,3.21645],[1526947200000,3.21895],[1527033600000,3.24008],[1527120000000,3.21221],[1527206400000,3.2295],[1527292800000,3.21743],[1527379200000,3.21743],[1527465600000,3.21743],[1527552000000,3.21743],[1527638400000,3.15476],[1527724800000,3.1846],[1527811200000,3.20424],[1527897600000,3.19675],[1527984000000,3.19675],[1528070400000,3.19675],[1528156800000,3.22763],[1528243200000,3.21419],[1528329600000,3.23191],[1528416000000,3.26027],[1528502400000,3.23087],[1528588800000,3.23087],[1528675200000,3.23087],[1528761600000,3.23763],[1528848000000,3.25641],[1528934400000,3.2565],[1529020800000,3.26258],[1529107200000,3.23532],[1529193600000,3.23532],[1529280000000,3.23532],[1529366400000,3.24103],[1529452800000,3.21443],[1529539200000,null],[1529625600000,3.22018],[1529712000000,3.24009],[1529798400000,3.24009],[1529884800000,3.24009],[1529971200000,3.2336],[1530057600000,3.22726],[1530144000000,3.22646],[1530230400000,3.22646],[1530316800000,3.22646],[1530403200000,3.22646],[1530489600000,3.22646],[1530576000000,3.21341],[1530662400000,3.24104],[1530748800000,3.25936],[1530835200000,3.2779],[1530921600000,3.26744],[1531008000000,3.26744],[1531094400000,3.26744],[1531180800000,3.28449],[1531267200000,3.2608],[1531353600000,3.25835],[1531440000000,3.23758],[1531526400000,3.22085],[1531612800000,3.22085],[1531699200000,3.22085],[1531785600000,3.24026],[1531872000000,3.23558],[1531958400000,3.21404],[1532044800000,3.20335],[1532131200000,3.21804],[1532217600000,3.21804],[1532304000000,3.21804],[1532390400000,3.24374],[1532476800000,3.25488],[1532563200000,3.25987],[1532649600000,3.27115],[1532736000000,3.26247],[1532822400000,3.26247],[1532908800000,3.26247],[1532995200000,3.28059],[1533081600000,null],[1533168000000,3.30624],[1533254400000,3.28721],[1533340800000,3.29054],[1533427200000,3.29054],[1533513600000,3.29054],[1533600000000,3.28541],[1533686400000,3.29988],[1533772800000,3.27859],[1533859200000,3.29309],[1533945600000,3.27416],[1534032000000,3.27416],[1534118400000,3.27416],[1534204800000,3.27204],[1534291200000,3.28729],[1534377600000,3.25376],[1534464000000,3.2728],[1534550400000,3.28315],[1534636800000,3.28315],[1534723200000,3.28315],[1534809600000,3.27022],[1534896000000,3.28402],[1534982400000,3.34598],[1535068800000,3.34268],[1535155200000,3.34268],[1535241600000,3.34268],[1535328000000,3.34268],[1535414400000,3.34463],[1535500800000,3.37793],[1535587200000,3.3633],[1535673600000,3.40168],[1535760000000,3.38757],[1535846400000,3.38757],[1535932800000,3.38757],[1536019200000,3.39563],[1536105600000,3.39031],[1536192000000,3.37552],[1536278400000,3.35889],[1536364800000,3.35872],[1536451200000,3.35872],[1536537600000,3.35872],[1536624000000,3.36298],[1536710400000,3.35963],[1536796800000,3.37059],[1536883200000,3.41412],[1536969600000,3.41908],[1537056000000,3.41908],[1537142400000,3.41908],[1537228800000,3.43304],[1537315200000,3.44896],[1537401600000,3.43646],[1537488000000,3.44433],[1537574400000,3.44484],[1537660800000,3.44484],[1537747200000,3.44484],[1537833600000,3.45848],[1537920000000,3.45279],[1538006400000,3.46004],[1538092800000,3.48669],[1538179200000,3.45696],[1538265600000,3.45696],[1538352000000,3.45696],[1538438400000,3.46622],[1538524800000,3.45781],[1538611200000,3.46283],[1538697600000,3.42413],[1538784000000,3.39676],[1538870400000,3.39676],[1538956800000,3.39676],[1539043200000,3.39065],[1539129600000,3.38315],[1539216000000,3.40891],[1539302400000,3.40743],[1539388800000,3.41421],[1539475200000,3.41421],[1539561600000,3.41421],[1539648000000,3.41421],[1539734400000,3.43558],[1539820800000,3.41363],[1539907200000,3.40981],[1539993600000,3.41996],[1540080000000,3.41996],[1540166400000,3.41996],[1540252800000,3.40863],[1540339200000,3.39914],[1540425600000,3.38701],[1540512000000,3.4087],[1540598400000,3.36988],[1540684800000,3.36988],[1540771200000,3.36988],[1540857600000,3.37405],[1540944000000,3.35606],[1541030400000,3.33147],[1541116800000,3.37154],[1541203200000,3.37589],[1541289600000,3.37589],[1541376000000,3.37589],[1541462400000,3.34454],[1541548800000,3.34716],[1541635200000,3.36158],[1541721600000,3.35551],[1541808000000,3.31655],[1541894400000,3.31655],[1541980800000,3.31655],[1542067200000,3.29568],[1542153600000,3.28983],[1542240000000,3.27611],[1542326400000,3.26975],[1542412800000,3.27626],[1542499200000,3.27626],[1542585600000,3.27626],[1542672000000,3.288],[1542758400000,3.26444],[1542844800000,3.25711],[1542931200000,3.24838],[1543017600000,3.24078],[1543104000000,3.24078],[1543190400000,3.24078],[1543276800000,3.2584],[1543363200000,3.27128],[1543449600000,3.28566],[1543536000000,3.32197],[1543622400000,3.2914],[1543708800000,3.2914],[1543795200000,3.2914],[1543881600000,3.29491],[1543968000000,3.3262],[1544054400000,3.29224],[1544140800000,3.26154],[1544227200000,3.26276],[1544313600000,3.26276],[1544400000000,3.26276],[1544486400000,3.27554],[1544572800000,3.24974],[1544659200000,3.24383],[1544745600000,3.25374],[1544832000000,3.23075],[1544918400000,3.23075],[1545004800000,3.23075],[1545091200000,3.23245],[1545177600000,3.20561],[1545264000000,3.18101],[1545350400000,3.19069],[1545436800000,3.14932],[1545523200000,3.14932],[1545609600000,3.14932],[1545696000000,3.14932],[1545782400000,3.14932],[1545868800000,3.10993],[1545955200000,3.13301],[1546041600000,3.17975],[1546128000000,3.17975]], 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, 3.584256],[1515974400000, 3.584256],[1518652800000, 3.475626],[1521072000000, 3.383935],[1523750400000, 3.335350],[1526342400000, 3.238749],[1529020800000, 3.230217],[1531612800000, 3.245024],[1534291200000, 3.304612],[1536969600000, 3.413099],[1539561600000, 3.408624],[1542240000000, 3.302228],[1544832000000, 3.222291]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });