$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1356998400000,10.5372],[1357084800000,10.5372],[1357171200000,10.5372],[1357257600000,10.4724],[1357344000000,10.4005],[1357430400000,10.4005],[1357516800000,10.4005],[1357603200000,10.4005],[1357689600000,10.4596],[1357776000000,10.4357],[1357862400000,10.4812],[1357948800000,10.6099],[1358035200000,10.6099],[1358121600000,10.6099],[1358208000000,10.6635],[1358294400000,10.6523],[1358380800000,10.6123],[1358467200000,10.685],[1358553600000,10.6499],[1358640000000,10.6499],[1358726400000,10.6499],[1358812800000,10.6491],[1358899200000,10.6443],[1358985600000,10.6547],[1359072000000,10.6699],[1359158400000,10.7658],[1359244800000,10.7658],[1359331200000,10.7658],[1359417600000,10.7458],[1359504000000,10.737],[1359590400000,10.8233],[1359676800000,10.8305],[1359763200000,10.9056],[1359849600000,10.9056],[1359936000000,10.9056],[1360022400000,10.8321],[1360108800000,10.8201],[1360195200000,10.8041],[1360281600000,10.8273],[1360368000000,10.6898],[1360454400000,10.6898],[1360540800000,10.6898],[1360627200000,10.7034],[1360713600000,10.741],[1360800000000,10.7746],[1360886400000,10.6523],[1360972800000,10.6507],[1361059200000,10.6507],[1361145600000,10.6507],[1361232000000,10.6723],[1361318400000,10.6699],[1361404800000,10.6866],[1361491200000,10.5396],[1361577600000,10.5396],[1361664000000,10.5396],[1361750400000,10.5396],[1361836800000,10.6339],[1361923200000,10.4524],[1362009600000,10.4684],[1362096000000,10.494],[1362182400000,10.3909],[1362268800000,10.3909],[1362355200000,10.3909],[1362441600000,10.3965],[1362528000000,10.4181],[1362614400000,10.4189],[1362700800000,10.3989],[1362787200000,10.3989],[1362873600000,10.3989],[1362960000000,10.3989],[1363046400000,10.3861],[1363132800000,10.4333],[1363219200000,10.3757],[1363305600000,10.3405],[1363392000000,10.4596],[1363478400000,10.4596],[1363564800000,10.4596],[1363651200000,10.3341],[1363737600000,10.3461],[1363824000000,10.3469],[1363910400000,10.319],[1363996800000,10.3493],[1364083200000,10.3493],[1364169600000,10.3493],[1364256000000,10.3389],[1364342400000,10.2798],[1364428800000,10.2055],[1364515200000,10.235],[1364601600000,10.235],[1364688000000,10.235],[1364774400000,10.235],[1364860800000,10.235],[1364947200000,10.263],[1365033600000,10.2534],[1365120000000,10.2454],[1365206400000,10.3461],[1365292800000,10.3461],[1365379200000,10.3461],[1365465600000,10.4093],[1365552000000,10.4229],[1365638400000,10.4596],[1365724800000,10.486],[1365811200000,10.4325],[1365897600000,10.4325],[1365984000000,10.4325],[1366070400000,10.4556],[1366156800000,10.494],[1366243200000,10.494],[1366329600000,10.4269],[1366416000000,10.4828],[1366502400000,10.4828],[1366588800000,10.4828],[1366675200000,10.4205],[1366761600000,10.3829],[1366848000000,10.3957],[1366934400000,10.4548],[1367020800000,10.3901],[1367107200000,10.3901],[1367193600000,10.3901],[1367280000000,10.4812],[1367366400000,10.4484],[1367452800000,10.4484],[1367539200000,10.4484],[1367625600000,10.4484],[1367712000000,10.4484],[1367798400000,10.4484],[1367884800000,10.4484],[1367971200000,10.4764],[1368057600000,10.4988],[1368144000000,10.4988],[1368230400000,10.4988],[1368316800000,10.4988],[1368403200000,10.4988],[1368489600000,10.3693],[1368576000000,10.3725],[1368662400000,10.2822],[1368748800000,10.303],[1368835200000,10.2862],[1368921600000,10.2862],[1369008000000,10.2862],[1369094400000,10.2734],[1369180800000,10.2838],[1369267200000,10.3294],[1369353600000,10.3014],[1369440000000,10.3421],[1369526400000,10.3421],[1369612800000,10.3421],[1369699200000,10.3421],[1369785600000,10.3413],[1369872000000,10.3525],[1369958400000,10.3461],[1370044800000,10.3957],[1370131200000,10.3957],[1370217600000,10.3957],[1370304000000,10.3973],[1370390400000,10.4644],[1370476800000,10.4445],[1370563200000,10.4852],[1370649600000,10.5987],[1370736000000,10.5987],[1370822400000,10.5987],[1370908800000,10.558],[1370995200000,10.6091],[1371081600000,10.6123],[1371168000000,10.6427],[1371254400000,10.6331],[1371340800000,10.6331],[1371427200000,10.6331],[1371513600000,10.6603],[1371600000000,10.6898],[1371686400000,10.7154],[1371772800000,10.5508],[1371859200000,10.5348],[1371945600000,10.5348],[1372032000000,10.5348],[1372118400000,10.5348],[1372204800000,10.498],[1372291200000,10.4101],[1372377600000,10.4165],[1372464000000,10.4165],[1372550400000,10.4165],[1372636800000,10.4165],[1372723200000,10.4205],[1372809600000,10.4045],[1372896000000,10.3581],[1372982400000,10.3781],[1373068800000,10.2974],[1373155200000,10.2974],[1373241600000,10.2974],[1373328000000,10.271],[1373414400000,10.2766],[1373500800000,10.2414],[1373587200000,10.4261],[1373673600000,10.4181],[1373760000000,10.4181],[1373846400000,10.4181],[1373932800000,10.4005],[1374019200000,10.4852],[1374105600000,10.4996],[1374192000000,10.4652],[1374278400000,10.4892],[1374364800000,10.4892],[1374451200000,null],[1374537600000,10.5236],[1374624000000,10.5348],[1374710400000,10.5875],[1374796800000,10.5524],[1374883200000,10.5987],[1374969600000,10.5987],[1375056000000,10.5987],[1375142400000,10.6067],[1375228800000,10.6179],[1375315200000,10.6107],[1375401600000,10.5795],[1375488000000,10.5532],[1375574400000,null],[1375660800000,10.5532],[1375747200000,10.5963],[1375833600000,10.6147],[1375920000000,10.6347],[1376006400000,10.6786],[1376092800000,10.689],[1376179200000,10.689],[1376265600000,10.689],[1376352000000,10.6147],[1376438400000,10.6227],[1376524800000,10.5851],[1376611200000,10.6283],[1376697600000,10.6627],[1376784000000,10.6627],[1376870400000,10.6627],[1376956800000,10.6659],[1377043200000,10.7042],[1377129600000,10.6978],[1377216000000,10.6491],[1377302400000,10.6747],[1377388800000,10.6747],[1377475200000,10.6747],[1377561600000,10.6747],[1377648000000,10.6611],[1377734400000,10.6683],[1377820800000,10.6035],[1377907200000,10.5787],[1377993600000,10.5787],[1378080000000,10.5787],[1378166400000,10.5564],[1378252800000,10.5284],[1378339200000,10.5276],[1378425600000,10.5524],[1378512000000,10.4844],[1378598400000,10.4844],[1378684800000,10.4844],[1378771200000,10.546],[1378857600000,10.5827],[1378944000000,10.6051],[1379030400000,10.6227],[1379116800000,10.6267],[1379203200000,10.6267],[1379289600000,10.6267],[1379376000000,10.6762],[1379462400000,10.6755],[1379548800000,10.6723],[1379635200000,10.8265],[1379721600000,10.8017],[1379808000000,10.8017],[1379894400000,10.8017],[1379980800000,10.7969],[1380067200000,10.769],[1380153600000,10.7937],[1380240000000,10.7898],[1380326400000,10.8201],[1380412800000,10.8201],[1380499200000,10.8201],[1380585600000,10.7945],[1380672000000,10.8337],[1380758400000,10.8025],[1380844800000,10.8657],[1380931200000,10.8649],[1381017600000,10.8649],[1381104000000,10.8649],[1381190400000,10.8481],[1381276800000,10.8513],[1381363200000,10.8025],[1381449600000,10.8025],[1381536000000,10.8433],[1381622400000,10.8433],[1381708800000,10.8433],[1381795200000,10.8417],[1381881600000,10.785],[1381968000000,10.8393],[1382054400000,10.92],[1382140800000,10.9376],[1382227200000,10.9376],[1382313600000,10.9376],[1382400000000,10.924],[1382486400000,10.9296],[1382572800000,10.992],[1382659200000,11.0343],[1382745600000,11.012],[1382832000000,11.012],[1382918400000,11.012],[1383004800000,11.0176],[1383091200000,11.0048],[1383177600000,10.9944],[1383264000000,10.9033],[1383350400000,null],[1383436800000,10.7945],[1383523200000,10.7945],[1383609600000,10.7953],[1383696000000,10.7858],[1383782400000,10.8041],[1383868800000,10.6826],[1383955200000,10.7354],[1384041600000,10.7354],[1384128000000,10.7354],[1384214400000,10.7058],[1384300800000,10.7362],[1384387200000,10.7226],[1384473600000,10.7394],[1384560000000,10.7586],[1384646400000,10.7586],[1384732800000,10.7586],[1384819200000,10.8041],[1384905600000,10.7921],[1384992000000,10.8121],[1385078400000,10.7682],[1385164800000,10.8049],[1385251200000,10.8049],[1385337600000,10.8049],[1385424000000,10.8017],[1385510400000,10.8281],[1385596800000,10.8673],[1385683200000,10.8641],[1385769600000,10.8793],[1385856000000,10.8793],[1385942400000,10.8793],[1386028800000,10.8193],[1386115200000,10.8529],[1386201600000,10.8641],[1386288000000,10.8657],[1386374400000,10.9192],[1386460800000,10.9192],[1386547200000,10.9192],[1386633600000,10.968],[1386720000000,10.9904],[1386806400000,11.004],[1386892800000,11.0104],[1386979200000,10.972],[1387065600000,10.972],[1387152000000,10.972],[1387238400000,11.0112],[1387324800000,10.9896],[1387411200000,10.9896],[1387497600000,10.924],[1387584000000,10.9144],[1387670400000,10.9144],[1387756800000,10.9144],[1387843200000,10.952],[1387929600000,10.9376],[1388016000000,10.9376],[1388102400000,10.9376],[1388188800000,11.0415],[1388275200000,11.0415],[1388361600000,11.0415]], 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.602457],[1358208000000, 10.602457],[1360886400000, 10.695205],[1363305600000, 10.365606],[1365984000000, 10.399000],[1368576000000, 10.383603],[1371254400000, 10.533628],[1373846400000, 10.446238],[1376524800000, 10.641800],[1379203200000, 10.662582],[1381795200000, 10.898610],[1384473600000, 10.785451],[1387065600000, 10.948244]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });