$(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: [[1356998400000,12.8982],[1357084800000,12.8982],[1357171200000,12.8982],[1357257600000,12.917],[1357344000000,12.8038],[1357430400000,12.8038],[1357516800000,12.8038],[1357603200000,12.8038],[1357689600000,12.8418],[1357776000000,12.8037],[1357862400000,12.8258],[1357948800000,12.8886],[1358035200000,12.8886],[1358121600000,12.8886],[1358208000000,12.829],[1358294400000,12.8302],[1358380800000,12.7844],[1358467200000,12.8103],[1358553600000,12.7208],[1358640000000,12.7208],[1358726400000,12.7208],[1358812800000,12.6926],[1358899200000,12.677],[1358985600000,12.6736],[1359072000000,12.6435],[1359158400000,12.6448],[1359244800000,12.6448],[1359331200000,12.6448],[1359417600000,12.5755],[1359504000000,12.5785],[1359590400000,12.6102],[1359676800000,12.6377],[1359763200000,12.656],[1359849600000,12.656],[1359936000000,12.656],[1360022400000,12.5677],[1360108800000,12.583],[1360195200000,12.5178],[1360281600000,12.5549],[1360368000000,12.6305],[1360454400000,12.6305],[1360540800000,12.6305],[1360627200000,12.5406],[1360713600000,12.4678],[1360800000000,12.4418],[1360886400000,12.395],[1360972800000,12.3787],[1361059200000,12.3787],[1361145600000,12.3787],[1361232000000,12.3822],[1361318400000,12.3622],[1361404800000,12.2371],[1361491200000,12.1958],[1361577600000,12.2262],[1361664000000,12.2262],[1361750400000,12.2262],[1361836800000,12.0991],[1361923200000,12.1075],[1362009600000,12.1155],[1362096000000,12.1599],[1362182400000,12.0168],[1362268800000,12.0168],[1362355200000,12.0168],[1362441600000,12.033],[1362528000000,12.1169],[1362614400000,12.0533],[1362700800000,12.0218],[1362787200000,12.0218],[1362873600000,12.0218],[1362960000000,12.0218],[1363046400000,11.8923],[1363132800000,11.906],[1363219200000,11.9563],[1363305600000,11.9447],[1363392000000,12.1061],[1363478400000,12.1061],[1363564800000,12.1061],[1363651200000,12.0698],[1363737600000,12.0887],[1363824000000,12.0989],[1363910400000,12.1164],[1363996800000,12.1357],[1364083200000,12.1357],[1364169600000,12.1357],[1364256000000,12.1406],[1364342400000,12.1081],[1364428800000,12.0753],[1364515200000,12.1039],[1364601600000,12.1039],[1364688000000,12.1039],[1364774400000,12.1039],[1364860800000,12.1039],[1364947200000,12.1183],[1365033600000,12.0856],[1365120000000,12.0897],[1365206400000,12.1848],[1365292800000,12.1848],[1365379200000,12.1848],[1365465600000,12.2325],[1365552000000,12.237],[1365638400000,12.2364],[1365724800000,12.3075],[1365811200000,12.2778],[1365897600000,12.2778],[1365984000000,12.2778],[1366070400000,12.2589],[1366156800000,12.2465],[1366243200000,12.1839],[1366329600000,12.198],[1366416000000,12.2692],[1366502400000,12.2692],[1366588800000,12.2692],[1366675200000,12.1692],[1366761600000,12.1915],[1366848000000,12.1944],[1366934400000,12.3609],[1367020800000,12.3692],[1367107200000,12.3692],[1367193600000,12.3692],[1367280000000,12.4185],[1367366400000,12.3753],[1367452800000,12.3753],[1367539200000,12.3753],[1367625600000,12.3753],[1367712000000,12.3753],[1367798400000,12.3753],[1367884800000,12.3753],[1367971200000,12.4099],[1368057600000,12.3967],[1368144000000,12.3967],[1368230400000,12.3967],[1368316800000,12.3967],[1368403200000,12.3967],[1368489600000,12.2845],[1368576000000,12.2296],[1368662400000,12.1482],[1368748800000,12.1857],[1368835200000,12.1766],[1368921600000,12.1766],[1369008000000,12.1766],[1369094400000,12.1492],[1369180800000,12.1114],[1369267200000,12.0712],[1369353600000,12.0463],[1369440000000,12.0685],[1369526400000,12.0685],[1369612800000,12.0685],[1369699200000,12.0876],[1369785600000,12.0909],[1369872000000,12.0807],[1369958400000,12.0908],[1370044800000,12.1779],[1370131200000,12.1779],[1370217600000,12.1779],[1370304000000,12.2063],[1370390400000,12.2277],[1370476800000,12.2724],[1370563200000,12.3486],[1370649600000,12.45],[1370736000000,12.45],[1370822400000,12.45],[1370908800000,12.4153],[1370995200000,12.4243],[1371081600000,12.5108],[1371168000000,12.5282],[1371254400000,12.4875],[1371340800000,12.4875],[1371427200000,12.4875],[1371513600000,12.5777],[1371600000000,12.4852],[1371686400000,12.5209],[1371772800000,12.3473],[1371859200000,12.3459],[1371945600000,12.3459],[1372032000000,12.3459],[1372118400000,12.3459],[1372204800000,12.371],[1372291200000,12.2731],[1372377600000,12.2101],[1372464000000,12.2101],[1372550400000,12.2101],[1372636800000,12.2101],[1372723200000,12.1699],[1372809600000,12.1279],[1372896000000,12.1975],[1372982400000,12.0704],[1373068800000,11.966],[1373155200000,11.966],[1373241600000,11.966],[1373328000000,11.9209],[1373414400000,11.8805],[1373500800000,11.9059],[1373587200000,12.0826],[1373673600000,12.0761],[1373760000000,12.0761],[1373846400000,12.0761],[1373932800000,12.0279],[1374019200000,12.0617],[1374105600000,12.1643],[1374192000000,12.1562],[1374278400000,12.1975],[1374364800000,12.1975],[1374451200000,null],[1374537600000,12.251],[1374624000000,12.2561],[1374710400000,12.274],[1374796800000,12.2176],[1374883200000,12.3091],[1374969600000,12.3091],[1375056000000,12.3091],[1375142400000,12.2848],[1375228800000,12.2418],[1375315200000,12.1473],[1375401600000,12.1716],[1375488000000,12.1113],[1375574400000,null],[1375660800000,12.1113],[1375747200000,12.2607],[1375833600000,12.2607],[1375920000000,12.3724],[1376006400000,12.3882],[1376092800000,12.4096],[1376179200000,12.4096],[1376265600000,12.4096],[1376352000000,12.3628],[1376438400000,12.3584],[1376524800000,12.389],[1376611200000,12.4555],[1376697600000,12.4965],[1376784000000,12.4965],[1376870400000,12.4965],[1376956800000,12.5054],[1377043200000,12.521],[1377129600000,12.5422],[1377216000000,12.4543],[1377302400000,12.4254],[1377388800000,12.4254],[1377475200000,12.4254],[1377561600000,12.4254],[1377648000000,12.3836],[1377734400000,12.359],[1377820800000,12.4032],[1377907200000,12.388],[1377993600000,12.388],[1378080000000,12.388],[1378166400000,12.4522],[1378252800000,12.4258],[1378339200000,12.4764],[1378425600000,12.5161],[1378512000000,12.4518],[1378598400000,12.4518],[1378684800000,12.4518],[1378771200000,12.5353],[1378857600000,12.5418],[1378944000000,12.6041],[1379030400000,12.631],[1379116800000,12.6523],[1379203200000,12.6523],[1379289600000,12.6523],[1379376000000,12.7326],[1379462400000,12.7134],[1379548800000,12.7689],[1379635200000,12.8581],[1379721600000,12.8043],[1379808000000,12.8043],[1379894400000,12.8043],[1379980800000,12.8359],[1380067200000,12.7548],[1380153600000,12.8245],[1380240000000,12.8175],[1380326400000,12.8811],[1380412800000,12.8811],[1380499200000,12.8811],[1380585600000,12.9114],[1380672000000,12.9823],[1380758400000,12.9511],[1380844800000,12.9446],[1380931200000,12.829],[1381017600000,12.829],[1381104000000,12.829],[1381190400000,12.8578],[1381276800000,12.8776],[1381363200000,12.7178],[1381449600000,12.7178],[1381536000000,12.7719],[1381622400000,12.7719],[1381708800000,12.7719],[1381795200000,12.7805],[1381881600000,12.7429],[1381968000000,12.8139],[1382054400000,12.8835],[1382140800000,12.9416],[1382227200000,12.9416],[1382313600000,12.9416],[1382400000000,12.9049],[1382486400000,12.8948],[1382572800000,12.9074],[1382659200000,12.9253],[1382745600000,12.9263],[1382832000000,12.9263],[1382918400000,12.9263],[1383004800000,12.9102],[1383091200000,12.8455],[1383177600000,12.8454],[1383264000000,12.8243],[1383350400000,null],[1383436800000,12.7542],[1383523200000,12.7542],[1383609600000,12.7665],[1383696000000,12.8356],[1383782400000,12.8575],[1383868800000,12.8382],[1383955200000,12.8529],[1384041600000,12.8529],[1384128000000,12.8529],[1384214400000,12.7739],[1384300800000,12.7101],[1384387200000,12.7665],[1384473600000,12.8285],[1384560000000,12.843],[1384646400000,12.843],[1384732800000,12.843],[1384819200000,12.8805],[1384905600000,12.8708],[1384992000000,12.9077],[1385078400000,12.896],[1385164800000,12.9494],[1385251200000,12.9494],[1385337600000,12.9494],[1385424000000,12.9393],[1385510400000,12.9168],[1385596800000,13.0295],[1385683200000,13.0554],[1385769600000,13.0643],[1385856000000,13.0643],[1385942400000,13.0643],[1386028800000,13.0977],[1386115200000,13.1216],[1386201600000,13.0893],[1386288000000,13.0707],[1386374400000,13.0644],[1386460800000,13.0644],[1386547200000,13.0644],[1386633600000,13.0938],[1386720000000,13.1393],[1386806400000,13.0961],[1386892800000,13.1123],[1386979200000,13.0046],[1387065600000,13.0046],[1387152000000,13.0046],[1387238400000,13.0487],[1387324800000,12.9962],[1387411200000,13.0813],[1387497600000,13.0842],[1387584000000,13.0743],[1387670400000,13.0743],[1387756800000,13.0743],[1387843200000,13.0739],[1387929600000,13.0828],[1388016000000,13.0828],[1388102400000,13.0828],[1388188800000,13.1973],[1388275200000,13.1973],[1388361600000,13.1973]], 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: [[1358208000000, 12.766620],[1358208000000, 12.766620],[1360886400000, 12.424286],[1363305600000, 12.062417],[1365984000000, 12.234659],[1368576000000, 12.236519],[1371254400000, 12.362311],[1373846400000, 12.131650],[1376524800000, 12.378866],[1379203200000, 12.654438],[1381795200000, 12.865205],[1384473600000, 12.869160],[1387065600000, 13.087136]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });