$(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: 'Курс AZN, грн'}, 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: 'Курс AZN', data: [[1356998400000,10.1822],[1357084800000,10.1822],[1357171200000,10.1822],[1357257600000,10.1822],[1357344000000,10.1822],[1357430400000,10.1822],[1357516800000,10.1822],[1357603200000,10.1822],[1357689600000,10.1848],[1357776000000,10.1848],[1357862400000,10.1848],[1357948800000,10.1848],[1358035200000,10.1848],[1358121600000,10.1848],[1358208000000,10.1848],[1358294400000,10.1835],[1358380800000,10.1835],[1358467200000,10.1835],[1358553600000,10.1848],[1358640000000,10.1848],[1358726400000,10.1848],[1358812800000,10.1848],[1358899200000,10.1848],[1358985600000,10.1835],[1359072000000,10.1861],[1359158400000,10.1861],[1359244800000,10.1861],[1359331200000,10.1861],[1359417600000,10.1874],[1359504000000,10.1887],[1359590400000,10.19],[1359676800000,10.19],[1359763200000,10.19],[1359849600000,10.19],[1359936000000,10.19],[1360022400000,10.19],[1360108800000,10.1874],[1360195200000,10.1861],[1360281600000,10.1848],[1360368000000,10.1848],[1360454400000,10.1848],[1360540800000,10.1848],[1360627200000,10.1848],[1360713600000,10.1848],[1360800000000,10.1848],[1360886400000,10.1861],[1360972800000,10.1861],[1361059200000,10.1861],[1361145600000,10.1861],[1361232000000,10.1861],[1361318400000,10.1861],[1361404800000,10.1848],[1361491200000,10.1861],[1361577600000,10.1861],[1361664000000,10.1861],[1361750400000,10.1861],[1361836800000,10.1861],[1361923200000,10.1835],[1362009600000,10.1835],[1362096000000,10.1848],[1362182400000,10.1848],[1362268800000,10.1848],[1362355200000,10.1848],[1362441600000,10.1848],[1362528000000,10.1822],[1362614400000,10.1822],[1362700800000,10.1835],[1362787200000,10.1835],[1362873600000,10.1835],[1362960000000,10.1835],[1363046400000,10.1835],[1363132800000,10.1835],[1363219200000,10.1835],[1363305600000,10.1848],[1363392000000,10.1848],[1363478400000,10.1848],[1363564800000,10.1848],[1363651200000,10.1848],[1363737600000,10.1848],[1363824000000,10.1848],[1363910400000,10.1848],[1363996800000,10.1848],[1364083200000,10.1848],[1364169600000,10.1848],[1364256000000,10.1848],[1364342400000,10.1848],[1364428800000,10.1848],[1364515200000,10.1848],[1364601600000,10.1848],[1364688000000,10.1848],[1364774400000,10.1848],[1364860800000,10.1874],[1364947200000,10.1874],[1365033600000,10.1874],[1365120000000,10.1874],[1365206400000,10.1874],[1365292800000,10.1874],[1365379200000,10.1874],[1365465600000,10.1874],[1365552000000,10.1874],[1365638400000,10.1874],[1365724800000,10.1887],[1365811200000,10.1887],[1365897600000,10.1887],[1365984000000,10.1887],[1366070400000,10.1861],[1366156800000,10.1861],[1366243200000,10.1861],[1366329600000,10.1861],[1366416000000,10.1861],[1366502400000,10.1861],[1366588800000,10.1861],[1366675200000,10.1861],[1366761600000,10.1861],[1366848000000,10.1887],[1366934400000,10.1887],[1367020800000,10.1874],[1367107200000,10.1874],[1367193600000,10.1874],[1367280000000,10.1874],[1367366400000,10.1874],[1367452800000,10.1874],[1367539200000,10.1874],[1367625600000,10.1874],[1367712000000,10.1874],[1367798400000,10.1874],[1367884800000,10.1874],[1367971200000,10.1887],[1368057600000,10.1887],[1368144000000,10.1887],[1368230400000,10.1887],[1368316800000,10.1887],[1368403200000,10.1887],[1368489600000,10.1874],[1368576000000,10.1874],[1368662400000,10.1874],[1368748800000,10.1874],[1368835200000,10.1861],[1368921600000,10.1861],[1369008000000,10.1861],[1369094400000,10.1861],[1369180800000,10.1861],[1369267200000,10.1861],[1369353600000,10.1874],[1369440000000,10.1874],[1369526400000,10.1874],[1369612800000,10.1874],[1369699200000,10.1874],[1369785600000,10.1874],[1369872000000,10.1874],[1369958400000,10.1874],[1370044800000,10.1874],[1370131200000,10.1874],[1370217600000,10.1874],[1370304000000,10.1874],[1370390400000,10.1874],[1370476800000,10.1874],[1370563200000,10.1874],[1370649600000,10.1848],[1370736000000,10.1848],[1370822400000,10.1848],[1370908800000,10.1848],[1370995200000,10.1848],[1371081600000,10.1874],[1371168000000,10.1874],[1371254400000,10.1874],[1371340800000,10.1874],[1371427200000,10.1874],[1371513600000,10.1874],[1371600000000,10.1874],[1371686400000,10.1874],[1371772800000,10.1887],[1371859200000,10.1887],[1371945600000,10.1887],[1372032000000,10.1887],[1372118400000,10.1887],[1372204800000,10.1887],[1372291200000,10.1887],[1372377600000,10.1887],[1372464000000,10.1887],[1372550400000,10.1887],[1372636800000,10.1887],[1372723200000,10.1887],[1372809600000,10.1887],[1372896000000,10.19],[1372982400000,10.19],[1373068800000,10.19],[1373155200000,10.19],[1373241600000,10.19],[1373328000000,10.19],[1373414400000,10.19],[1373500800000,10.19],[1373587200000,10.19],[1373673600000,10.1887],[1373760000000,10.1887],[1373846400000,10.1887],[1373932800000,10.1887],[1374019200000,10.19],[1374105600000,10.19],[1374192000000,10.19],[1374278400000,10.19],[1374364800000,10.19],[1374451200000,null],[1374537600000,10.19],[1374624000000,10.19],[1374710400000,10.1913],[1374796800000,10.1913],[1374883200000,10.1913],[1374969600000,10.1913],[1375056000000,10.1913],[1375142400000,10.1913],[1375228800000,10.1887],[1375315200000,10.1887],[1375401600000,10.1887],[1375488000000,10.1887],[1375574400000,null],[1375660800000,10.1887],[1375747200000,10.1887],[1375833600000,10.19],[1375920000000,10.19],[1376006400000,10.19],[1376092800000,10.19],[1376179200000,10.19],[1376265600000,10.19],[1376352000000,10.19],[1376438400000,10.19],[1376524800000,10.1887],[1376611200000,10.1887],[1376697600000,10.1887],[1376784000000,10.1887],[1376870400000,10.1887],[1376956800000,10.1887],[1377043200000,10.1887],[1377129600000,10.1913],[1377216000000,10.1913],[1377302400000,10.19],[1377388800000,10.19],[1377475200000,10.19],[1377561600000,10.19],[1377648000000,10.19],[1377734400000,10.19],[1377820800000,10.19],[1377907200000,10.19],[1377993600000,10.19],[1378080000000,10.19],[1378166400000,10.19],[1378252800000,10.19],[1378339200000,10.19],[1378425600000,10.19],[1378512000000,10.19],[1378598400000,10.19],[1378684800000,10.19],[1378771200000,10.19],[1378857600000,10.1887],[1378944000000,10.1887],[1379030400000,10.1887],[1379116800000,10.1887],[1379203200000,10.1887],[1379289600000,10.1887],[1379376000000,10.1887],[1379462400000,10.1887],[1379548800000,10.1887],[1379635200000,10.1887],[1379721600000,10.19],[1379808000000,10.19],[1379894400000,10.19],[1379980800000,10.19],[1380067200000,10.19],[1380153600000,10.19],[1380240000000,10.1887],[1380326400000,10.1887],[1380412800000,10.1887],[1380499200000,10.1887],[1380585600000,10.1887],[1380672000000,10.1887],[1380758400000,10.1887],[1380844800000,10.1887],[1380931200000,10.1887],[1381017600000,10.1887],[1381104000000,10.1887],[1381190400000,10.19],[1381276800000,10.19],[1381363200000,10.19],[1381449600000,10.19],[1381536000000,10.1913],[1381622400000,10.1913],[1381708800000,10.1913],[1381795200000,10.1913],[1381881600000,10.1913],[1381968000000,10.1913],[1382054400000,10.1913],[1382140800000,10.1913],[1382227200000,10.1913],[1382313600000,10.1913],[1382400000000,10.1913],[1382486400000,10.19],[1382572800000,10.19],[1382659200000,10.19],[1382745600000,10.19],[1382832000000,10.19],[1382918400000,10.19],[1383004800000,10.19],[1383091200000,10.1887],[1383177600000,10.1887],[1383264000000,10.1887],[1383350400000,null],[1383436800000,10.19],[1383523200000,10.19],[1383609600000,10.19],[1383696000000,10.1913],[1383782400000,10.1913],[1383868800000,10.1913],[1383955200000,10.1913],[1384041600000,10.1913],[1384128000000,10.1913],[1384214400000,10.1913],[1384300800000,10.1913],[1384387200000,10.1913],[1384473600000,10.1913],[1384560000000,10.19],[1384646400000,10.19],[1384732800000,10.19],[1384819200000,10.19],[1384905600000,10.19],[1384992000000,10.1913],[1385078400000,10.1913],[1385164800000,10.1913],[1385251200000,10.1913],[1385337600000,10.1913],[1385424000000,10.1913],[1385510400000,10.19],[1385596800000,10.19],[1385683200000,10.19],[1385769600000,10.19],[1385856000000,10.19],[1385942400000,10.19],[1386028800000,10.19],[1386115200000,10.19],[1386201600000,10.1913],[1386288000000,10.1913],[1386374400000,10.1913],[1386460800000,10.1913],[1386547200000,10.1913],[1386633600000,10.1913],[1386720000000,10.1913],[1386806400000,10.1913],[1386892800000,10.1913],[1386979200000,10.19],[1387065600000,10.19],[1387152000000,10.19],[1387238400000,10.19],[1387324800000,10.19],[1387411200000,10.19],[1387497600000,10.19],[1387584000000,10.1887],[1387670400000,10.1887],[1387756800000,10.1887],[1387843200000,10.1887],[1387929600000,10.1887],[1388016000000,10.1887],[1388102400000,10.1887],[1388188800000,10.1887],[1388275200000,10.1887],[1388361600000,10.1887]], 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, 10.184468],[1358208000000, 10.184468],[1360886400000, 10.186244],[1363305600000, 10.184300],[1365984000000, 10.187140],[1368576000000, 10.187357],[1371254400000, 10.187357],[1373846400000, 10.189867],[1376524800000, 10.189521],[1379203200000, 10.189348],[1381795200000, 10.190038],[1384473600000, 10.190626],[1387065600000, 10.189870]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });