$(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: 'Курс LTL, грн'}, 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: 'Курс LTL', data: [[1356998400000,3.05178],[1357084800000,3.05178],[1357171200000,3.05178],[1357257600000,3.03302],[1357344000000,3.01219],[1357430400000,3.01219],[1357516800000,3.01219],[1357603200000,3.01219],[1357689600000,3.02932],[1357776000000,3.02238],[1357862400000,3.03557],[1357948800000,3.07284],[1358035200000,3.07284],[1358121600000,3.07284],[1358208000000,3.08835],[1358294400000,3.08511],[1358380800000,3.07354],[1358467200000,3.0946],[1358553600000,3.08442],[1358640000000,3.08442],[1358726400000,3.08442],[1358812800000,3.08419],[1358899200000,3.0828],[1358985600000,3.08581],[1359072000000,3.0902],[1359158400000,3.11798],[1359244800000,3.11798],[1359331200000,3.11798],[1359417600000,3.1122],[1359504000000,3.10965],[1359590400000,3.13465],[1359676800000,3.13673],[1359763200000,3.15849],[1359849600000,3.15849],[1359936000000,3.15849],[1360022400000,3.1372],[1360108800000,3.13373],[1360195200000,3.12909],[1360281600000,3.13581],[1360368000000,3.09599],[1360454400000,3.09599],[1360540800000,3.09599],[1360627200000,3.09993],[1360713600000,3.11081],[1360800000000,3.12053],[1360886400000,3.08511],[1360972800000,3.08465],[1361059200000,3.08465],[1361145600000,3.08465],[1361232000000,3.0909],[1361318400000,3.0902],[1361404800000,3.09506],[1361491200000,3.05247],[1361577600000,3.05247],[1361664000000,3.05247],[1361750400000,3.05247],[1361836800000,3.07979],[1361923200000,3.02724],[1362009600000,3.03187],[1362096000000,3.03927],[1362182400000,3.00941],[1362268800000,3.00941],[1362355200000,3.00941],[1362441600000,3.01103],[1362528000000,3.01728],[1362614400000,3.01751],[1362700800000,3.01173],[1362787200000,3.01173],[1362873600000,3.01173],[1362960000000,3.01173],[1363046400000,3.00802],[1363132800000,3.02168],[1363219200000,3.00501],[1363305600000,2.99483],[1363392000000,3.02932],[1363478400000,3.02932],[1363564800000,3.02932],[1363651200000,2.99298],[1363737600000,2.99645],[1363824000000,2.99668],[1363910400000,2.98858],[1363996800000,2.99737],[1364083200000,2.99737],[1364169600000,2.99737],[1364256000000,2.99437],[1364342400000,2.97723],[1364428800000,2.95571],[1364515200000,2.96427],[1364601600000,2.96427],[1364688000000,2.96427],[1364774400000,2.96427],[1364860800000,2.96427],[1364947200000,2.97237],[1365033600000,2.9696],[1365120000000,2.96728],[1365206400000,2.99645],[1365292800000,2.99645],[1365379200000,2.99645],[1365465600000,3.01474],[1365552000000,3.01867],[1365638400000,3.02932],[1365724800000,3.03696],[1365811200000,3.02145],[1365897600000,3.02145],[1365984000000,3.02145],[1366070400000,3.02816],[1366156800000,3.03927],[1366243200000,3.03927],[1366329600000,3.01983],[1366416000000,3.03603],[1366502400000,3.03603],[1366588800000,3.03603],[1366675200000,3.01798],[1366761600000,3.0071],[1366848000000,3.0108],[1366934400000,3.02793],[1367020800000,3.00918],[1367107200000,3.00918],[1367193600000,3.00918],[1367280000000,3.03557],[1367366400000,3.02608],[1367452800000,3.02608],[1367539200000,3.02608],[1367625600000,3.02608],[1367712000000,3.02608],[1367798400000,3.02608],[1367884800000,3.02608],[1367971200000,3.03418],[1368057600000,3.04066],[1368144000000,3.04066],[1368230400000,3.04066],[1368316800000,3.04066],[1368403200000,3.04066],[1368489600000,3.00316],[1368576000000,3.00409],[1368662400000,2.97793],[1368748800000,2.98395],[1368835200000,2.97909],[1368921600000,2.97909],[1369008000000,2.97909],[1369094400000,2.97538],[1369180800000,2.97839],[1369267200000,2.99159],[1369353600000,2.98348],[1369440000000,2.99529],[1369526400000,2.99529],[1369612800000,2.99529],[1369699200000,2.99529],[1369785600000,2.99506],[1369872000000,2.9983],[1369958400000,2.99645],[1370044800000,3.0108],[1370131200000,3.0108],[1370217600000,3.0108],[1370304000000,3.01126],[1370390400000,3.03071],[1370476800000,3.02492],[1370563200000,3.03673],[1370649600000,3.0696],[1370736000000,3.0696],[1370822400000,3.0696],[1370908800000,3.0578],[1370995200000,3.07261],[1371081600000,3.07354],[1371168000000,3.08233],[1371254400000,3.07956],[1371340800000,3.07956],[1371427200000,3.07956],[1371513600000,3.08743],[1371600000000,3.09599],[1371686400000,3.1034],[1371772800000,3.05571],[1371859200000,3.05108],[1371945600000,3.05108],[1372032000000,3.05108],[1372118400000,3.05108],[1372204800000,3.04043],[1372291200000,3.01497],[1372377600000,3.01682],[1372464000000,3.01682],[1372550400000,3.01682],[1372636800000,3.01682],[1372723200000,3.01798],[1372809600000,3.01335],[1372896000000,2.99992],[1372982400000,3.00571],[1373068800000,2.98233],[1373155200000,2.98233],[1373241600000,2.98233],[1373328000000,2.97469],[1373414400000,2.97631],[1373500800000,2.96612],[1373587200000,3.0196],[1373673600000,3.01728],[1373760000000,3.01728],[1373846400000,3.01728],[1373932800000,3.01219],[1374019200000,3.03673],[1374105600000,3.0409],[1374192000000,3.03094],[1374278400000,3.03789],[1374364800000,3.03789],[1374451200000,null],[1374537600000,3.04784],[1374624000000,3.05108],[1374710400000,3.06636],[1374796800000,3.05617],[1374883200000,3.0696],[1374969600000,3.0696],[1375056000000,3.0696],[1375142400000,3.07192],[1375228800000,3.07516],[1375315200000,3.07307],[1375401600000,3.06405],[1375488000000,3.05641],[1375574400000,null],[1375660800000,3.05641],[1375747200000,3.06891],[1375833600000,3.07423],[1375920000000,3.08002],[1376006400000,3.09275],[1376092800000,3.09576],[1376179200000,3.09576],[1376265600000,3.09576],[1376352000000,3.07423],[1376438400000,3.07655],[1376524800000,3.06567],[1376611200000,3.07817],[1376697600000,3.08812],[1376784000000,3.08812],[1376870400000,3.08812],[1376956800000,3.08905],[1377043200000,3.10016],[1377129600000,3.09831],[1377216000000,3.08419],[1377302400000,3.09159],[1377388800000,3.09159],[1377475200000,3.09159],[1377561600000,3.09159],[1377648000000,3.08766],[1377734400000,3.08974],[1377820800000,3.07099],[1377907200000,3.06381],[1377993600000,3.06381],[1378080000000,3.06381],[1378166400000,3.05733],[1378252800000,3.04923],[1378339200000,3.049],[1378425600000,3.05617],[1378512000000,3.0365],[1378598400000,3.0365],[1378684800000,3.0365],[1378771200000,3.05432],[1378857600000,3.06497],[1378944000000,3.07145],[1379030400000,3.07655],[1379116800000,3.0777],[1379203200000,3.0777],[1379289600000,3.0777],[1379376000000,3.09206],[1379462400000,3.09182],[1379548800000,3.0909],[1379635200000,3.13558],[1379721600000,3.1284],[1379808000000,3.1284],[1379894400000,3.1284],[1379980800000,3.12701],[1380067200000,3.11891],[1380153600000,3.12608],[1380240000000,3.12493],[1380326400000,3.13373],[1380412800000,3.13373],[1380499200000,3.13373],[1380585600000,3.12632],[1380672000000,3.13766],[1380758400000,3.12863],[1380844800000,3.14692],[1380931200000,3.14669],[1381017600000,3.14669],[1381104000000,3.14669],[1381190400000,3.14183],[1381276800000,3.14275],[1381363200000,3.12863],[1381449600000,3.12863],[1381536000000,3.14044],[1381622400000,3.14044],[1381708800000,3.14044],[1381795200000,3.13998],[1381881600000,3.12354],[1381968000000,3.13928],[1382054400000,3.16266],[1382140800000,3.16775],[1382227200000,3.16775],[1382313600000,3.16775],[1382400000000,3.16382],[1382486400000,3.16544],[1382572800000,3.1835],[1382659200000,3.19577],[1382745600000,3.18928],[1382832000000,3.18928],[1382918400000,3.18928],[1383004800000,3.1909],[1383091200000,3.1872],[1383177600000,3.18419],[1383264000000,3.1578],[1383350400000,null],[1383436800000,3.12632],[1383523200000,3.12632],[1383609600000,3.12655],[1383696000000,3.12377],[1383782400000,3.12909],[1383868800000,3.09391],[1383955200000,3.10919],[1384041600000,3.10919],[1384128000000,3.10919],[1384214400000,3.10062],[1384300800000,3.10942],[1384387200000,3.10548],[1384473600000,3.11034],[1384560000000,3.1159],[1384646400000,3.1159],[1384732800000,3.1159],[1384819200000,3.12909],[1384905600000,3.12562],[1384992000000,3.13141],[1385078400000,3.11868],[1385164800000,3.12933],[1385251200000,3.12933],[1385337600000,3.12933],[1385424000000,3.1284],[1385510400000,3.13604],[1385596800000,3.14738],[1385683200000,3.14646],[1385769600000,3.15085],[1385856000000,3.15085],[1385942400000,3.15085],[1386028800000,3.13349],[1386115200000,3.14322],[1386201600000,3.14646],[1386288000000,3.14692],[1386374400000,3.16243],[1386460800000,3.16243],[1386547200000,3.16243],[1386633600000,3.17655],[1386720000000,3.18303],[1386806400000,3.18697],[1386892800000,3.18882],[1386979200000,3.17771],[1387065600000,3.17771],[1387152000000,3.17771],[1387238400000,3.18905],[1387324800000,3.1828],[1387411200000,3.1828],[1387497600000,3.16382],[1387584000000,3.16104],[1387670400000,3.16104],[1387756800000,3.16104],[1387843200000,3.17192],[1387929600000,3.16775],[1388016000000,3.16775],[1388102400000,3.16775],[1388188800000,3.19785],[1388275200000,3.19785],[1388361600000,3.19785]], 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, 3.070684],[1358208000000, 3.070684],[1360886400000, 3.097545],[1363305600000, 3.002087],[1365984000000, 3.011758],[1368576000000, 3.007299],[1371254400000, 3.050750],[1373846400000, 3.025440],[1376524800000, 3.082078],[1379203200000, 3.088097],[1381795200000, 3.156456],[1384473600000, 3.123683],[1387065600000, 3.170831]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });