$(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: 'Курс SEK, грн'}, 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: 'Курс SEK', data: [[1356998400000,1.23076],[1357084800000,1.23076],[1357171200000,1.23076],[1357257600000,1.22631],[1357344000000,1.21914],[1357430400000,1.21914],[1357516800000,1.21914],[1357603200000,1.21914],[1357689600000,1.21956],[1357776000000,1.2141],[1357862400000,1.2235],[1357948800000,1.23016],[1358035200000,1.23016],[1358121600000,1.23016],[1358208000000,1.23738],[1358294400000,1.23379],[1358380800000,1.22911],[1358467200000,1.23626],[1358553600000,1.22918],[1358640000000,1.22918],[1358726400000,1.22918],[1358812800000,1.22493],[1358899200000,1.22476],[1358985600000,1.22596],[1359072000000,1.22813],[1359158400000,1.23903],[1359244800000,1.23903],[1359331200000,1.23903],[1359417600000,1.2411],[1359504000000,1.24689],[1359590400000,1.25682],[1359676800000,1.25462],[1359763200000,1.26777],[1359849600000,1.26777],[1359936000000,1.26777],[1360022400000,1.26215],[1360108800000,1.26356],[1360195200000,1.25783],[1360281600000,1.25405],[1360368000000,1.24373],[1360454400000,1.24373],[1360540800000,1.24373],[1360627200000,1.24815],[1360713600000,1.25331],[1360800000000,1.27106],[1360886400000,1.26074],[1360972800000,1.25958],[1361059200000,1.25958],[1361145600000,1.25958],[1361232000000,1.26153],[1361318400000,1.26296],[1361404800000,1.26774],[1361491200000,1.24559],[1361577600000,1.24622],[1361664000000,1.24622],[1361750400000,1.24622],[1361836800000,1.25488],[1361923200000,1.2356],[1362009600000,1.24104],[1362096000000,1.24226],[1362182400000,1.24204],[1362268800000,1.24204],[1362355200000,1.24204],[1362441600000,1.24062],[1362528000000,1.24941],[1362614400000,1.25289],[1362700800000,1.25378],[1362787200000,1.25378],[1362873600000,1.25378],[1362960000000,1.25378],[1363046400000,1.24743],[1363132800000,1.25427],[1363219200000,1.25113],[1363305600000,1.23419],[1363392000000,1.25243],[1363478400000,1.25243],[1363564800000,1.25243],[1363651200000,1.23955],[1363737600000,1.24023],[1363824000000,1.24103],[1363910400000,1.23353],[1363996800000,1.22867],[1364083200000,1.22867],[1364169600000,1.22867],[1364256000000,1.22556],[1364342400000,1.23022],[1364428800000,1.22928],[1364515200000,1.22497],[1364601600000,1.22497],[1364688000000,1.22497],[1364774400000,1.22497],[1364860800000,1.22497],[1364947200000,1.23487],[1365033600000,1.23152],[1365120000000,1.21877],[1365206400000,1.23192],[1365292800000,1.23192],[1365379200000,1.23192],[1365465600000,1.24526],[1365552000000,1.2443],[1365638400000,1.25486],[1365724800000,1.26128],[1365811200000,1.2513],[1365897600000,1.2513],[1365984000000,1.2513],[1366070400000,1.24912],[1366156800000,1.25192],[1366243200000,1.23857],[1366329600000,1.22657],[1366416000000,1.23168],[1366502400000,1.23168],[1366588800000,1.23168],[1366675200000,1.22394],[1366761600000,1.20836],[1366848000000,1.21042],[1366934400000,1.21623],[1367020800000,1.21409],[1367107200000,1.21409],[1367193600000,1.21409],[1367280000000,1.22583],[1367366400000,1.22318],[1367452800000,1.22318],[1367539200000,1.22318],[1367625600000,1.22318],[1367712000000,1.22318],[1367798400000,1.22318],[1367884800000,1.22318],[1367971200000,1.22837],[1368057600000,1.22934],[1368144000000,1.22934],[1368230400000,1.22934],[1368316800000,1.22934],[1368403200000,1.22934],[1368489600000,1.20993],[1368576000000,1.20145],[1368662400000,1.19616],[1368748800000,1.19951],[1368835200000,1.19715],[1368921600000,1.19715],[1369008000000,1.19715],[1369094400000,1.19801],[1369180800000,1.20138],[1369267200000,1.2088],[1369353600000,1.19863],[1369440000000,1.20285],[1369526400000,1.20285],[1369612800000,1.20285],[1369699200000,1.20308],[1369785600000,1.20425],[1369872000000,1.20264],[1369958400000,1.20697],[1370044800000,1.21122],[1370131200000,1.21122],[1370217600000,1.21122],[1370304000000,1.21289],[1370390400000,1.221],[1370476800000,1.21088],[1370563200000,1.21819],[1370649600000,1.21948],[1370736000000,1.21948],[1370822400000,1.21948],[1370908800000,1.21155],[1370995200000,1.21311],[1371081600000,1.2225],[1371168000000,1.22661],[1371254400000,1.23503],[1371340800000,1.23503],[1371427200000,1.23503],[1371513600000,1.23781],[1371600000000,1.23222],[1371686400000,1.24961],[1371772800000,1.21659],[1371859200000,1.21191],[1371945600000,1.21191],[1372032000000,1.21191],[1372118400000,1.21191],[1372204800000,1.19727],[1372291200000,1.18816],[1372377600000,1.18964],[1372464000000,1.18964],[1372550400000,1.18964],[1372636800000,1.18964],[1372723200000,1.19833],[1372809600000,1.19581],[1372896000000,1.18945],[1372982400000,1.19179],[1373068800000,1.1896],[1373155200000,1.1896],[1373241600000,1.1896],[1373328000000,1.16851],[1373414400000,1.17859],[1373500800000,1.18034],[1373587200000,1.19764],[1373673600000,1.19679],[1373760000000,1.19679],[1373846400000,1.19679],[1373932800000,1.19055],[1374019200000,1.20556],[1374105600000,1.21671],[1374192000000,1.21389],[1374278400000,1.22063],[1374364800000,1.22063],[1374451200000,null],[1374537600000,1.22972],[1374624000000,1.23178],[1374710400000,1.238],[1374796800000,1.22581],[1374883200000,1.23072],[1374969600000,1.23072],[1375056000000,1.23072],[1375142400000,1.23604],[1375228800000,1.22301],[1375315200000,1.21783],[1375401600000,1.21724],[1375488000000,1.20313],[1375574400000,null],[1375660800000,1.20313],[1375747200000,1.20938],[1375833600000,1.21851],[1375920000000,1.21872],[1376006400000,1.22986],[1376092800000,1.23221],[1376179200000,1.23221],[1376265600000,1.23221],[1376352000000,1.223],[1376438400000,1.2263],[1376524800000,1.22523],[1376611200000,1.22934],[1376697600000,1.22461],[1376784000000,1.22461],[1376870400000,1.22461],[1376956800000,1.22427],[1377043200000,1.22951],[1377129600000,1.22573],[1377216000000,1.22558],[1377302400000,1.225],[1377388800000,1.225],[1377475200000,1.225],[1377561600000,1.225],[1377648000000,1.2269],[1377734400000,1.228],[1377820800000,1.21631],[1377907200000,1.20896],[1377993600000,1.20896],[1378080000000,1.20896],[1378166400000,1.21029],[1378252800000,1.20973],[1378339200000,1.20778],[1378425600000,1.20253],[1378512000000,1.20168],[1378598400000,1.20168],[1378684800000,1.20168],[1378771200000,1.20536],[1378857600000,1.21799],[1378944000000,1.22296],[1379030400000,1.22207],[1379116800000,1.22079],[1379203200000,1.22079],[1379289600000,1.22079],[1379376000000,1.22796],[1379462400000,1.23627],[1379548800000,1.23718],[1379635200000,1.26327],[1379721600000,1.25647],[1379808000000,1.25647],[1379894400000,1.25647],[1379980800000,1.25536],[1380067200000,1.24764],[1380153600000,1.24236],[1380240000000,1.24659],[1380326400000,1.24565],[1380412800000,1.24565],[1380499200000,1.24565],[1380585600000,1.24684],[1380672000000,1.25493],[1380758400000,1.24813],[1380844800000,1.26032],[1380931200000,1.2527],[1381017600000,1.2527],[1381104000000,1.2527],[1381190400000,1.24085],[1381276800000,1.24695],[1381363200000,1.23535],[1381449600000,1.23535],[1381536000000,1.23699],[1381622400000,1.23699],[1381708800000,1.23699],[1381795200000,1.23218],[1381881600000,1.23092],[1381968000000,1.23012],[1382054400000,1.24401],[1382140800000,1.24736],[1382227200000,1.24736],[1382313600000,1.24736],[1382400000000,1.24349],[1382486400000,1.2473],[1382572800000,1.25256],[1382659200000,1.25925],[1382745600000,1.26066],[1382832000000,1.26066],[1382918400000,1.26066],[1383004800000,1.25967],[1383091200000,1.25489],[1383177600000,1.25192],[1383264000000,1.23827],[1383350400000,null],[1383436800000,1.22589],[1383523200000,1.22589],[1383609600000,1.23063],[1383696000000,1.22649],[1383782400000,1.2295],[1383868800000,1.22634],[1383955200000,1.21476],[1384041600000,1.21476],[1384128000000,1.21476],[1384214400000,1.21703],[1384300800000,1.20492],[1384387200000,1.19236],[1384473600000,1.19672],[1384560000000,1.20291],[1384646400000,1.20291],[1384732800000,1.20291],[1384819200000,1.21182],[1384905600000,1.20431],[1384992000000,1.21219],[1385078400000,1.20513],[1385164800000,1.21475],[1385251200000,1.21475],[1385337600000,1.21475],[1385424000000,1.21484],[1385510400000,1.21744],[1385596800000,1.21967],[1385683200000,1.21657],[1385769600000,1.22136],[1385856000000,1.22136],[1385942400000,1.22136],[1386028800000,1.21697],[1386115200000,1.22387],[1386201600000,1.22922],[1386288000000,1.22595],[1386374400000,1.22329],[1386460800000,1.22329],[1386547200000,1.22329],[1386633600000,1.22473],[1386720000000,1.22255],[1386806400000,1.22098],[1386892800000,1.21522],[1386979200000,1.21437],[1387065600000,1.21437],[1387152000000,1.21437],[1387238400000,1.21986],[1387324800000,1.2155],[1387411200000,1.22253],[1387497600000,1.22003],[1387584000000,1.214],[1387670400000,1.214],[1387756800000,1.214],[1387843200000,1.21861],[1387929600000,1.21509],[1388016000000,1.21509],[1388102400000,1.21509],[1388188800000,1.22977],[1388275200000,1.22977],[1388361600000,1.22977]], 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, 1.230082],[1358208000000, 1.230082],[1360886400000, 1.255241],[1363305600000, 1.241002],[1365984000000, 1.232625],[1368576000000, 1.211877],[1371254400000, 1.215738],[1373846400000, 1.206458],[1376524800000, 1.222580],[1379203200000, 1.228233],[1381795200000, 1.247359],[1384473600000, 1.214986],[1387065600000, 1.220584]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });