$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1356998400000,15.1006],[1357084800000,15.1006],[1357171200000,15.1006],[1357257600000,15.0099],[1357344000000,14.9154],[1357430400000,14.9154],[1357516800000,14.9154],[1357603200000,14.9154],[1357689600000,15.0088],[1357776000000,14.9766],[1357862400000,15.0463],[1357948800000,15.2113],[1358035200000,15.2113],[1358121600000,15.2113],[1358208000000,15.2925],[1358294400000,15.2786],[1358380800000,15.2126],[1358467200000,15.3147],[1358553600000,15.2686],[1358640000000,15.2686],[1358726400000,15.2686],[1358812800000,15.2653],[1358899200000,15.2541],[1358985600000,15.2668],[1359072000000,15.2754],[1359158400000,15.4083],[1359244800000,15.4083],[1359331200000,15.4083],[1359417600000,15.3797],[1359504000000,15.3583],[1359590400000,15.4818],[1359676800000,15.4832],[1359763200000,15.5728],[1359849600000,15.5728],[1359936000000,15.5728],[1360022400000,15.4678],[1360108800000,15.4595],[1360195200000,15.4367],[1360281600000,15.472],[1360368000000,15.2799],[1360454400000,15.2799],[1360540800000,15.2799],[1360627200000,15.3015],[1360713600000,15.3487],[1360800000000,15.3988],[1360886400000,15.2241],[1360972800000,15.2239],[1361059200000,15.2239],[1361145600000,15.2239],[1361232000000,15.257],[1361318400000,15.2492],[1361404800000,15.2732],[1361491200000,15.063],[1361577600000,15.063],[1361664000000,15.063],[1361750400000,15.063],[1361836800000,15.1934],[1361923200000,14.9406],[1362009600000,14.9421],[1362096000000,14.9765],[1362182400000,14.8314],[1362268800000,14.8314],[1362355200000,14.8314],[1362441600000,14.8437],[1362528000000,14.8617],[1362614400000,14.8671],[1362700800000,14.845],[1362787200000,14.845],[1362873600000,14.845],[1362960000000,14.845],[1363046400000,14.8204],[1363132800000,14.8834],[1363219200000,14.7971],[1363305600000,14.7448],[1363392000000,14.9125],[1363478400000,14.9125],[1363564800000,14.9125],[1363651200000,14.7378],[1363737600000,14.7486],[1363824000000,14.7455],[1363910400000,14.7057],[1363996800000,14.7363],[1364083200000,14.7363],[1364169600000,14.7363],[1364256000000,14.7257],[1364342400000,14.6519],[1364428800000,14.5501],[1364515200000,14.5861],[1364601600000,14.5861],[1364688000000,14.5861],[1364774400000,14.5861],[1364860800000,14.5861],[1364947200000,14.6364],[1365033600000,14.6206],[1365120000000,14.6134],[1365206400000,14.7549],[1365292800000,14.7549],[1365379200000,14.7549],[1365465600000,14.8492],[1365552000000,14.8707],[1365638400000,14.9274],[1365724800000,14.9608],[1365811200000,14.8908],[1365897600000,14.8908],[1365984000000,14.8908],[1366070400000,14.9238],[1366156800000,14.9786],[1366243200000,14.9807],[1366329600000,14.8913],[1366416000000,14.9712],[1366502400000,14.9712],[1366588800000,14.9712],[1366675200000,14.8821],[1366761600000,14.8221],[1366848000000,14.8489],[1366934400000,14.9355],[1367020800000,14.8451],[1367107200000,14.8451],[1367193600000,14.8451],[1367280000000,14.9732],[1367366400000,14.9264],[1367452800000,14.9264],[1367539200000,14.9264],[1367625600000,14.9264],[1367712000000,14.9264],[1367798400000,14.9264],[1367884800000,14.9264],[1367971200000,14.962],[1368057600000,14.9983],[1368144000000,14.9983],[1368230400000,14.9983],[1368316800000,14.9983],[1368403200000,14.9983],[1368489600000,14.8175],[1368576000000,14.8327],[1368662400000,14.7015],[1368748800000,14.7354],[1368835200000,14.7093],[1368921600000,14.7093],[1369008000000,14.7093],[1369094400000,14.6826],[1369180800000,14.6932],[1369267200000,14.752],[1369353600000,14.7058],[1369440000000,14.7682],[1369526400000,14.7682],[1369612800000,14.7682],[1369699200000,14.7471],[1369785600000,14.7481],[1369872000000,14.7619],[1369958400000,14.7507],[1370044800000,14.8129],[1370131200000,14.8129],[1370217600000,14.8129],[1370304000000,14.8215],[1370390400000,14.9087],[1370476800000,14.8697],[1370563200000,14.932],[1370649600000,15.1],[1370736000000,15.1],[1370822400000,15.1],[1370908800000,15.0441],[1370995200000,15.1127],[1371081600000,15.1194],[1371168000000,15.1627],[1371254400000,15.1533],[1371340800000,15.1533],[1371427200000,15.1533],[1371513600000,15.1921],[1371600000000,15.2364],[1371686400000,15.2728],[1371772800000,15.0424],[1371859200000,15.0154],[1371945600000,15.0154],[1372032000000,15.0154],[1372118400000,15.0154],[1372204800000,14.9566],[1372291200000,14.8228],[1372377600000,14.8362],[1372464000000,14.8362],[1372550400000,14.8362],[1372636800000,14.8362],[1372723200000,14.8398],[1372809600000,14.8275],[1372896000000,14.7552],[1372982400000,14.7857],[1373068800000,14.6707],[1373155200000,14.6707],[1373241600000,14.6707],[1373328000000,14.629],[1373414400000,14.6286],[1373500800000,14.5848],[1373587200000,14.8393],[1373673600000,14.8258],[1373760000000,14.8258],[1373846400000,14.8258],[1373932800000,14.8029],[1374019200000,14.9256],[1374105600000,14.9461],[1374192000000,14.8993],[1374278400000,14.9313],[1374364800000,14.9313],[1374451200000,null],[1374537600000,14.9802],[1374624000000,15.0025],[1374710400000,15.0712],[1374796800000,15.0212],[1374883200000,15.0871],[1374969600000,15.0871],[1375056000000,15.0871],[1375142400000,15.1007],[1375228800000,15.1101],[1375315200000,15.0978],[1375401600000,15.0513],[1375488000000,15.0159],[1375574400000,null],[1375660800000,15.0159],[1375747200000,15.073],[1375833600000,15.1034],[1375920000000,15.1383],[1376006400000,15.1944],[1376092800000,15.2049],[1376179200000,15.2049],[1376265600000,15.2049],[1376352000000,15.1077],[1376438400000,15.117],[1376524800000,15.0678],[1376611200000,15.1314],[1376697600000,15.1738],[1376784000000,15.1738],[1376870400000,15.1738],[1376956800000,15.1762],[1377043200000,15.233],[1377129600000,15.2217],[1377216000000,15.1631],[1377302400000,15.1909],[1377388800000,15.1909],[1377475200000,15.1909],[1377561600000,15.1909],[1377648000000,15.1781],[1377734400000,15.1818],[1377820800000,15.0897],[1377907200000,15.0523],[1377993600000,15.0523],[1378080000000,15.0523],[1378166400000,15.0247],[1378252800000,14.987],[1378339200000,14.9816],[1378425600000,15.019],[1378512000000,14.9223],[1378598400000,14.9223],[1378684800000,14.9223],[1378771200000,15.0142],[1378857600000,15.0644],[1378944000000,15.0919],[1379030400000,15.1213],[1379116800000,15.1291],[1379203200000,15.1291],[1379289600000,15.1291],[1379376000000,15.1975],[1379462400000,15.192],[1379548800000,15.1897],[1379635200000,15.4114],[1379721600000,15.3761],[1379808000000,15.3761],[1379894400000,15.3761],[1379980800000,15.3693],[1380067200000,15.3273],[1380153600000,15.3626],[1380240000000,15.3525],[1380326400000,15.3957],[1380412800000,15.3957],[1380499200000,15.3957],[1380585600000,15.3615],[1380672000000,15.4173],[1380758400000,15.3729],[1380844800000,15.465],[1380931200000,15.4594],[1381017600000,15.4594],[1381104000000,15.4594],[1381190400000,15.4355],[1381276800000,15.4445],[1381363200000,15.3729],[1381449600000,15.3729],[1381536000000,15.4309],[1381622400000,15.4309],[1381708800000,15.4309],[1381795200000,15.4264],[1381881600000,15.3544],[1381968000000,15.4296],[1382054400000,15.5401],[1382140800000,15.5651],[1382227200000,15.5651],[1382313600000,15.5651],[1382400000000,15.5392],[1382486400000,15.5493],[1382572800000,15.638],[1382659200000,15.6961],[1382745600000,15.6732],[1382832000000,15.6732],[1382918400000,15.6732],[1383004800000,15.6744],[1383091200000,15.6585],[1383177600000,15.6392],[1383264000000,15.5096],[1383350400000,null],[1383436800000,15.3615],[1383523200000,15.3615],[1383609600000,15.3605],[1383696000000,15.3534],[1383782400000,15.3796],[1383868800000,15.2066],[1383955200000,15.2817],[1384041600000,15.2817],[1384128000000,15.2817],[1384214400000,15.2331],[1384300800000,15.2763],[1384387200000,15.2548],[1384473600000,15.2765],[1384560000000,15.3147],[1384646400000,15.3147],[1384732800000,15.3147],[1384819200000,15.3752],[1384905600000,15.3559],[1384992000000,15.3822],[1385078400000,15.324],[1385164800000,15.3741],[1385251200000,15.3741],[1385337600000,15.3741],[1385424000000,15.3652],[1385510400000,15.4027],[1385596800000,15.4606],[1385683200000,15.4561],[1385769600000,15.4755],[1385856000000,15.4755],[1385942400000,15.4755],[1386028800000,15.3902],[1386115200000,15.4424],[1386201600000,15.4627],[1386288000000,15.4606],[1386374400000,15.5323],[1386460800000,15.5323],[1386547200000,15.5323],[1386633600000,15.5995],[1386720000000,15.6313],[1386806400000,15.6506],[1386892800000,15.662],[1386979200000,15.6074],[1387065600000,15.6074],[1387152000000,15.6074],[1387238400000,15.6653],[1387324800000,15.6324],[1387411200000,15.6368],[1387497600000,15.5436],[1387584000000,15.5432],[1387670400000,15.5432],[1387756800000,15.5432],[1387843200000,15.5967],[1387929600000,15.5762],[1388016000000,15.5762],[1388102400000,15.5762],[1388188800000,15.7332],[1388275200000,15.7332],[1388361600000,15.7332]], 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, 15.195136],[1358208000000, 15.195136],[1360886400000, 15.283210],[1363305600000, 14.781901],[1365984000000, 14.842422],[1368576000000, 14.832218],[1371254400000, 15.008752],[1373846400000, 14.873305],[1376524800000, 15.143656],[1379203200000, 15.176032],[1381795200000, 15.508829],[1384473600000, 15.347672],[1387065600000, 15.581780]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });