$(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: 'Курс GBP, грн'}, 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: 'Курс GBP', data: [[1514764800000,37.7337],[1514851200000,37.7337],[1514937600000,37.7337],[1515024000000,37.8303],[1515110400000,37.9315],[1515196800000,38.2198],[1515283200000,38.2198],[1515369600000,38.2198],[1515456000000,38.2198],[1515542400000,38.1241],[1515628800000,38.3127],[1515715200000,38.3758],[1515801600000,38.9231],[1515888000000,38.9231],[1515974400000,38.9231],[1516060800000,39.3883],[1516147200000,39.4352],[1516233600000,39.4965],[1516320000000,39.9162],[1516406400000,40.0038],[1516492800000,40.0038],[1516579200000,40.0038],[1516665600000,40.1216],[1516752000000,40.2556],[1516838400000,40.8962],[1516924800000,40.9755],[1517011200000,40.6516],[1517097600000,40.6516],[1517184000000,40.6516],[1517270400000,39.7616],[1517356800000,39.5652],[1517443200000,39.4547],[1517529600000,39.6739],[1517616000000,39.6547],[1517702400000,39.6547],[1517788800000,39.6547],[1517875200000,38.9662],[1517961600000,38.0902],[1518048000000,37.7335],[1518134400000,37.9742],[1518220800000,37.4228],[1518307200000,37.4228],[1518393600000,37.4228],[1518480000000,37.1494],[1518566400000,37.0253],[1518652800000,36.9646],[1518739200000,37.707],[1518825600000,37.8832],[1518912000000,37.8832],[1518998400000,37.8832],[1519084800000,37.8393],[1519171200000,37.8913],[1519257600000,37.5611],[1519344000000,37.6186],[1519430400000,37.7455],[1519516800000,37.7455],[1519603200000,37.7455],[1519689600000,37.8867],[1519776000000,37.4988],[1519862400000,37.0302],[1519948800000,36.6691],[1520035200000,36.5775],[1520121600000,36.5775],[1520208000000,36.5775],[1520294400000,36.5909],[1520380800000,36.6755],[1520467200000,36.1968],[1520553600000,36.1968],[1520640000000,36.1968],[1520726400000,36.1968],[1520812800000,36.1968],[1520899200000,36.0001],[1520985600000,36.1858],[1521072000000,36.3045],[1521158400000,36.6445],[1521244800000,36.733],[1521331200000,36.733],[1521417600000,36.733],[1521504000000,37.1492],[1521590400000,36.8093],[1521676800000,36.9424],[1521763200000,37.0803],[1521849600000,37.1511],[1521936000000,37.1511],[1522022400000,37.1511],[1522108800000,37.4179],[1522195200000,37.0214],[1522281600000,37.3691],[1522368000000,37.3805],[1522454400000,37.0476],[1522540800000,37.0476],[1522627200000,37.0476],[1522713600000,36.8418],[1522800000000,37.0262],[1522886400000,36.8156],[1522972800000,36.5668],[1523059200000,36.4756],[1523145600000,36.4756],[1523232000000,36.4756],[1523318400000,36.4756],[1523404800000,36.8287],[1523491200000,36.7521],[1523577600000,36.9162],[1523664000000,37.2431],[1523750400000,37.2431],[1523836800000,37.2431],[1523923200000,37.3243],[1524009600000,37.3558],[1524096000000,37.1871],[1524182400000,37.336],[1524268800000,36.781],[1524355200000,36.781],[1524441600000,36.781],[1524528000000,36.4816],[1524614400000,36.5508],[1524700800000,36.6339],[1524787200000,36.6438],[1524873600000,36.0526],[1524960000000,36.0526],[1525046400000,36.0526],[1525132800000,36.0526],[1525219200000,36.0526],[1525305600000,35.6706],[1525392000000,35.619],[1525478400000,35.6832],[1525564800000,35.6832],[1525651200000,35.6832],[1525737600000,35.5534],[1525824000000,35.3941],[1525910400000,35.3941],[1525996800000,35.43],[1526083200000,35.5281],[1526169600000,35.5281],[1526256000000,35.5281],[1526342400000,35.5554],[1526428800000,35.4338],[1526515200000,35.3288],[1526601600000,35.3931],[1526688000000,35.2762],[1526774400000,35.2762],[1526860800000,35.2762],[1526947200000,34.9974],[1527033600000,35.0656],[1527120000000,34.7188],[1527206400000,35.003],[1527292800000,34.8749],[1527379200000,34.8749],[1527465600000,34.8749],[1527552000000,34.8749],[1527638400000,34.6157],[1527724800000,34.7442],[1527811200000,34.8546],[1527897600000,34.7541],[1527984000000,34.7541],[1528070400000,34.7541],[1528156800000,34.9847],[1528243200000,34.9438],[1528329600000,35.1038],[1528416000000,35.1518],[1528502400000,35.0162],[1528588800000,35.0162],[1528675200000,35.0162],[1528761600000,34.8851],[1528848000000,34.876],[1528934400000,34.8402],[1529020800000,35.076],[1529107200000,34.9468],[1529193600000,34.9468],[1529280000000,34.9468],[1529366400000,34.882],[1529452800000,34.7842],[1529539200000,null],[1529625600000,34.7386],[1529712000000,34.8643],[1529798400000,34.8643],[1529884800000,34.8643],[1529971200000,34.7832],[1530057600000,34.6733],[1530144000000,34.6841],[1530230400000,34.6841],[1530316800000,34.6841],[1530403200000,34.6841],[1530489600000,34.6841],[1530576000000,34.4413],[1530662400000,34.7234],[1530748800000,34.9334],[1530835200000,35.0432],[1530921600000,34.8246],[1531008000000,34.8246],[1531094400000,34.8246],[1531180800000,35.0284],[1531267200000,34.7515],[1531353600000,34.7841],[1531440000000,34.6427],[1531526400000,34.5169],[1531612800000,34.5169],[1531699200000,34.5169],[1531785600000,34.796],[1531872000000,34.5986],[1531958400000,34.2701],[1532044800000,34.3527],[1532131200000,34.5046],[1532217600000,34.5046],[1532304000000,34.5046],[1532390400000,34.7521],[1532476800000,34.8946],[1532563200000,35.031],[1532649600000,35.1393],[1532736000000,35.025],[1532822400000,35.025],[1532908800000,35.025],[1532995200000,35.0969],[1533081600000,null],[1533168000000,35.4166],[1533254400000,35.2007],[1533340800000,35.2555],[1533427200000,35.2555],[1533513600000,35.2555],[1533600000000,35.0786],[1533686400000,35.0344],[1533772800000,34.685],[1533859200000,34.9458],[1533945600000,34.8064],[1534032000000,34.8064],[1534118400000,34.8064],[1534204800000,34.9053],[1534291200000,35.0724],[1534377600000,34.8659],[1534464000000,35.1532],[1534550400000,35.4778],[1534636800000,35.4778],[1534723200000,35.4778],[1534809600000,35.349],[1534896000000,35.5153],[1534982400000,36.0197],[1535068800000,35.8833],[1535155200000,35.8833],[1535241600000,35.8833],[1535328000000,35.8833],[1535414400000,35.8976],[1535500800000,36.2241],[1535587200000,36.2251],[1535673600000,36.8372],[1535760000000,36.6721],[1535846400000,36.6721],[1535932800000,36.6721],[1536019200000,36.5407],[1536105600000,36.5804],[1536192000000,36.4297],[1536278400000,36.5565],[1536364800000,36.7738],[1536451200000,36.7738],[1536537600000,36.7738],[1536624000000,36.5245],[1536710400000,36.509],[1536796800000,36.4697],[1536883200000,36.7229],[1536969600000,36.8796],[1537056000000,36.8796],[1537142400000,36.8796],[1537228800000,36.9358],[1537315200000,37.0134],[1537401600000,36.9404],[1537488000000,37.2796],[1537574400000,36.9118],[1537660800000,36.9118],[1537747200000,36.9118],[1537833600000,36.9952],[1537920000000,36.9558],[1538006400000,37.0804],[1538092800000,37.2346],[1538179200000,36.8819],[1538265600000,36.8819],[1538352000000,36.8819],[1538438400000,36.7584],[1538524800000,36.6556],[1538611200000,36.7895],[1538697600000,36.5849],[1538784000000,36.6522],[1538870400000,36.6522],[1538956800000,36.6522],[1539043200000,36.6314],[1539129600000,36.6231],[1539216000000,36.8257],[1539302400000,37.0238],[1539388800000,36.8828],[1539475200000,36.8828],[1539561600000,36.8828],[1539648000000,36.8828],[1539734400000,36.9465],[1539820800000,36.6004],[1539907200000,36.7202],[1539993600000,36.7243],[1540080000000,36.7243],[1540166400000,36.7243],[1540252800000,36.5006],[1540339200000,36.6729],[1540425600000,36.4171],[1540512000000,36.5377],[1540598400000,36.1612],[1540684800000,36.1612],[1540771200000,36.1612],[1540857600000,36.1505],[1540944000000,35.9274],[1541030400000,35.8094],[1541116800000,36.3833],[1541203200000,36.5531],[1541289600000,36.5531],[1541376000000,36.5531],[1541462400000,36.3893],[1541548800000,36.5901],[1541635200000,36.6638],[1541721600000,36.6021],[1541808000000,36.3524],[1541894400000,36.3524],[1541980800000,36.3524],[1542067200000,35.8982],[1542153600000,36.1592],[1542240000000,36.1265],[1542326400000,35.5311],[1542412800000,35.6432],[1542499200000,35.6432],[1542585600000,35.6432],[1542672000000,35.615],[1542758400000,35.6651],[1542844800000,35.5618],[1542931200000,35.7103],[1543017600000,35.6621],[1543104000000,35.6621],[1543190400000,35.6621],[1543276800000,35.8446],[1543363200000,35.8743],[1543449600000,36.148],[1543536000000,36.2694],[1543622400000,35.993],[1543708800000,35.993],[1543795200000,35.993],[1543881600000,35.8108],[1543968000000,36.0314],[1544054400000,35.7356],[1544140800000,35.5854],[1544227200000,35.5155],[1544313600000,35.5155],[1544400000000,35.5155],[1544486400000,35.1654],[1544572800000,34.9501],[1544659200000,35.0043],[1544745600000,35.268],[1544832000000,34.9688],[1544918400000,34.9688],[1545004800000,34.9688],[1545091200000,35.1826],[1545177600000,35.3147],[1545264000000,34.9999],[1545350400000,34.9569],[1545436800000,34.7094],[1545523200000,34.7094],[1545609600000,34.7094],[1545696000000,34.7094],[1545782400000,34.7094],[1545868800000,34.5488],[1545955200000,34.678],[1546041600000,35.1314],[1546128000000,35.1314]], 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, 39.200061],[1515974400000, 39.200061],[1518652800000, 38.041185],[1521072000000, 36.731842],[1523750400000, 36.782948],[1526342400000, 35.322076],[1529020800000, 34.874945],[1531612800000, 34.750339],[1534291200000, 35.419270],[1536969600000, 36.808147],[1539561600000, 36.625537],[1542240000000, 36.049137],[1544832000000, 35.213057]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });