$(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: 'Курс XDR, грн'}, 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: 'Курс XDR', data: [[1356998400000,12.2846],[1357084800000,12.2846],[1357171200000,12.2846],[1357257600000,12.2579],[1357344000000,12.1885],[1357430400000,12.1885],[1357516800000,12.1885],[1357603200000,12.1885],[1357689600000,12.2459],[1357776000000,12.2158],[1357862400000,12.2282],[1357948800000,12.2751],[1358035200000,12.2751],[1358121600000,12.2751],[1358208000000,12.3024],[1358294400000,12.3062],[1358380800000,12.2949],[1358467200000,12.2981],[1358553600000,12.2815],[1358640000000,12.2815],[1358726400000,12.2815],[1358812800000,12.2815],[1358899200000,12.2856],[1358985600000,12.2855],[1359072000000,12.2638],[1359158400000,12.2784],[1359244800000,12.2784],[1359331200000,12.2784],[1359417600000,12.2778],[1359504000000,12.2814],[1359590400000,12.3144],[1359676800000,12.3199],[1359763200000,12.3419],[1359849600000,12.3419],[1359936000000,12.3419],[1360022400000,12.2962],[1360108800000,12.2942],[1360195200000,12.2717],[1360281600000,12.2858],[1360368000000,12.2534],[1360454400000,12.2534],[1360540800000,12.2534],[1360627200000,12.2278],[1360713600000,12.233],[1360800000000,12.2503],[1360886400000,12.1942],[1360972800000,12.201],[1361059200000,12.201],[1361145600000,12.201],[1361232000000,12.201],[1361318400000,12.191],[1361404800000,12.1894],[1361491200000,12.1266],[1361577600000,12.1184],[1361664000000,12.1184],[1361750400000,12.1184],[1361836800000,12.1349],[1361923200000,12.0917],[1362009600000,12.1037],[1362096000000,12.108],[1362182400000,12.0495],[1362268800000,12.0495],[1362355200000,12.0495],[1362441600000,12.0397],[1362528000000,12.0658],[1362614400000,12.0595],[1362700800000,12.0338],[1362787200000,12.0338],[1362873600000,12.0338],[1362960000000,12.0338],[1363046400000,11.997],[1363132800000,12.0026],[1363219200000,12.0112],[1363305600000,11.9726],[1363392000000,12.0434],[1363478400000,12.0434],[1363564800000,12.0434],[1363651200000,12.0101],[1363737600000,12.0062],[1363824000000,11.9957],[1363910400000,12.0054],[1363996800000,12.0226],[1364083200000,12.0226],[1364169600000,12.0226],[1364256000000,12.0382],[1364342400000,11.9906],[1364428800000,11.9589],[1364515200000,11.9737],[1364601600000,11.9737],[1364688000000,11.9737],[1364774400000,11.9737],[1364860800000,11.9831],[1364947200000,11.9995],[1365033600000,11.9844],[1365120000000,11.9535],[1365206400000,11.9999],[1365292800000,11.9999],[1365379200000,11.9999],[1365465600000,12.0169],[1365552000000,12.0176],[1365638400000,12.033],[1365724800000,12.0497],[1365811200000,12.0319],[1365897600000,12.0319],[1365984000000,12.0319],[1366070400000,12.0472],[1366156800000,12.0525],[1366243200000,12.0578],[1366329600000,12.0271],[1366416000000,12.0374],[1366502400000,12.0374],[1366588800000,12.0374],[1366675200000,12.0053],[1366761600000,11.9982],[1366848000000,12.0037],[1366934400000,12.0407],[1367020800000,12.0235],[1367107200000,12.0235],[1367193600000,12.0235],[1367280000000,12.0634],[1367366400000,12.0614],[1367452800000,12.0614],[1367539200000,12.0614],[1367625600000,12.0614],[1367712000000,12.0614],[1367798400000,12.0614],[1367884800000,12.0614],[1367971200000,12.0639],[1368057600000,12.0663],[1368144000000,12.0663],[1368230400000,12.0663],[1368316800000,12.0663],[1368403200000,12.0663],[1368489600000,11.9809],[1368576000000,11.9647],[1368662400000,11.9123],[1368748800000,11.9166],[1368835200000,11.9208],[1368921600000,11.9208],[1369008000000,11.9208],[1369094400000,11.9156],[1369180800000,11.9112],[1369267200000,11.926],[1369353600000,11.9222],[1369440000000,11.9509],[1369526400000,11.9509],[1369612800000,11.9509],[1369699200000,11.9509],[1369785600000,11.9357],[1369872000000,11.9405],[1369958400000,11.9637],[1370044800000,11.9796],[1370131200000,11.9796],[1370217600000,11.9796],[1370304000000,11.9923],[1370390400000,12.0237],[1370476800000,12.0258],[1370563200000,12.0556],[1370649600000,12.1489],[1370736000000,12.1489],[1370822400000,12.1489],[1370908800000,12.1032],[1370995200000,12.1371],[1371081600000,12.1556],[1371168000000,12.1971],[1371254400000,12.1847],[1371340800000,12.1847],[1371427200000,12.1847],[1371513600000,12.199],[1371600000000,12.1995],[1371686400000,12.2071],[1371772800000,12.0963],[1371859200000,12.1064],[1371945600000,12.1064],[1372032000000,12.1064],[1372118400000,12.1064],[1372204800000,12.0767],[1372291200000,12.0305],[1372377600000,12.0196],[1372464000000,12.0196],[1372550400000,12.0196],[1372636800000,12.0196],[1372723200000,12.0071],[1372809600000,11.9982],[1372896000000,11.9805],[1372982400000,11.9805],[1373068800000,11.9805],[1373155200000,11.9805],[1373241600000,11.9805],[1373328000000,11.8993],[1373414400000,11.8979],[1373500800000,11.8974],[1373587200000,12.0042],[1373673600000,11.9992],[1373760000000,11.9992],[1373846400000,11.9992],[1373932800000,11.9803],[1374019200000,12.0222],[1374105600000,12.0411],[1374192000000,12.0208],[1374278400000,12.0255],[1374364800000,12.0255],[1374451200000,null],[1374537600000,12.0608],[1374624000000,12.0576],[1374710400000,12.0792],[1374796800000,12.0625],[1374883200000,12.1106],[1374969600000,12.1106],[1375056000000,12.1106],[1375142400000,12.1223],[1375228800000,12.1073],[1375315200000,12.0955],[1375401600000,12.0735],[1375488000000,12.0514],[1375574400000,null],[1375660800000,12.0514],[1375747200000,12.1054],[1375833600000,12.1106],[1375920000000,12.1349],[1376006400000,12.1718],[1376092800000,12.1773],[1376179200000,12.1773],[1376265600000,12.1773],[1376352000000,12.1446],[1376438400000,12.1279],[1376524800000,12.1126],[1376611200000,12.1346],[1376697600000,12.1654],[1376784000000,12.1654],[1376870400000,12.1654],[1376956800000,12.1676],[1377043200000,12.1842],[1377129600000,12.1838],[1377216000000,12.1384],[1377302400000,12.1528],[1377388800000,12.1528],[1377475200000,12.1528],[1377561600000,12.1528],[1377648000000,12.1526],[1377734400000,12.1541],[1377820800000,12.1189],[1377907200000,12.1116],[1377993600000,12.1116],[1378080000000,12.1116],[1378166400000,12.1116],[1378252800000,12.0836],[1378339200000,12.0896],[1378425600000,12.095],[1378512000000,12.0573],[1378598400000,12.0573],[1378684800000,12.0573],[1378771200000,12.0985],[1378857600000,12.1121],[1378944000000,12.1216],[1379030400000,12.1471],[1379116800000,12.1413],[1379203200000,12.1413],[1379289600000,12.1413],[1379376000000,12.1779],[1379462400000,12.179],[1379548800000,12.1838],[1379635200000,12.2612],[1379721600000,12.2474],[1379808000000,12.2474],[1379894400000,12.2474],[1379980800000,12.2463],[1380067200000,12.2303],[1380153600000,12.2478],[1380240000000,12.2462],[1380326400000,12.2503],[1380412800000,12.2503],[1380499200000,12.2503],[1380585600000,12.2619],[1380672000000,12.2843],[1380758400000,12.277],[1380844800000,12.3019],[1380931200000,12.2908],[1381017600000,12.2908],[1381104000000,12.2908],[1381190400000,12.289],[1381276800000,12.287],[1381363200000,12.2575],[1381449600000,12.2575],[1381536000000,12.2645],[1381622400000,12.2645],[1381708800000,12.2645],[1381795200000,12.2645],[1381881600000,12.2295],[1381968000000,12.261],[1382054400000,12.2931],[1382140800000,12.3354],[1382227200000,12.3354],[1382313600000,12.3354],[1382400000000,12.3199],[1382486400000,12.3126],[1382572800000,12.3471],[1382659200000,12.3716],[1382745600000,12.3733],[1382832000000,12.3733],[1382918400000,12.3733],[1383004800000,12.3671],[1383091200000,12.3412],[1383177600000,12.3375],[1383264000000,12.2936],[1383350400000,null],[1383436800000,12.2433],[1383523200000,12.2433],[1383609600000,12.2395],[1383696000000,12.2452],[1383782400000,12.2507],[1383868800000,12.2486],[1383955200000,12.224],[1384041600000,12.224],[1384128000000,12.224],[1384214400000,12.1993],[1384300800000,12.1795],[1384387200000,12.2003],[1384473600000,12.2059],[1384560000000,12.2123],[1384646400000,12.2123],[1384732800000,12.2123],[1384819200000,12.2371],[1384905600000,12.2322],[1384992000000,12.2491],[1385078400000,12.2189],[1385164800000,12.2369],[1385251200000,12.2369],[1385337600000,12.2369],[1385424000000,12.237],[1385510400000,12.2454],[1385596800000,12.2709],[1385683200000,12.2709],[1385769600000,12.2709],[1385856000000,12.2709],[1385942400000,12.2709],[1386028800000,12.2456],[1386115200000,12.2644],[1386201600000,12.2653],[1386288000000,12.2668],[1386374400000,12.2956],[1386460800000,12.2956],[1386547200000,12.2956],[1386633600000,12.3049],[1386720000000,12.3189],[1386806400000,12.3267],[1386892800000,12.3341],[1386979200000,12.2922],[1387065600000,12.2922],[1387152000000,12.2922],[1387238400000,12.3234],[1387324800000,12.3079],[1387411200000,12.3142],[1387497600000,12.2849],[1387584000000,12.2668],[1387670400000,12.2668],[1387756800000,12.2668],[1387843200000,12.2833],[1387929600000,12.2795],[1388016000000,12.2795],[1388102400000,12.2795],[1388188800000,12.3508],[1388275200000,12.3508],[1388361600000,12.3508]], 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.266206],[1358208000000, 12.266206],[1360886400000, 12.219836],[1363305600000, 12.021419],[1365984000000, 12.019504],[1368576000000, 11.989686],[1371254400000, 12.097455],[1373846400000, 12.018698],[1376524800000, 12.138819],[1379203200000, 12.164790],[1381795200000, 12.304938],[1384473600000, 12.234528],[1387065600000, 12.296385]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });