$(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: 'Курс NOK, грн'}, 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: 'Курс NOK', data: [[1483228800000,3.13169],[1483315200000,3.13169],[1483401600000,3.13169],[1483488000000,3.13169],[1483574400000,3.0987],[1483660800000,3.0987],[1483747200000,3.18383],[1483833600000,3.18383],[1483920000000,3.18383],[1484006400000,3.18383],[1484092800000,3.16566],[1484179200000,3.14201],[1484265600000,3.21126],[1484352000000,null],[1484438400000,3.25659],[1484524800000,3.25659],[1484611200000,3.24303],[1484697600000,3.2669],[1484784000000,3.24558],[1484870400000,3.24585],[1484956800000,3.24058],[1485043200000,3.24058],[1485129600000,3.24058],[1485216000000,3.25626],[1485302400000,3.26742],[1485388800000,3.2676],[1485475200000,3.2638],[1485561600000,3.25642],[1485648000000,3.25642],[1485734400000,3.25642],[1485820800000,3.24788],[1485907200000,3.27678],[1485993600000,3.27946],[1486080000000,3.29298],[1486166400000,3.28386],[1486252800000,3.28386],[1486339200000,3.28386],[1486425600000,3.30136],[1486512000000,3.24822],[1486598400000,3.23095],[1486684800000,3.25178],[1486771200000,3.24686],[1486857600000,3.24686],[1486944000000,3.24686],[1487030400000,3.24359],[1487116800000,3.2579],[1487203200000,3.21857],[1487289600000,3.24144],[1487376000000,3.24698],[1487462400000,3.24698],[1487548800000,3.24698],[1487635200000,3.23933],[1487721600000,3.23297],[1487808000000,3.21675],[1487894400000,3.23016],[1487980800000,3.23878],[1488067200000,3.23878],[1488153600000,3.23878],[1488240000000,3.24064],[1488326400000,3.24551],[1488412800000,3.23065],[1488499200000,3.20655],[1488585600000,3.20835],[1488672000000,3.20835],[1488758400000,3.20835],[1488844800000,3.19171],[1488931200000,3.18777],[1489017600000,3.18777],[1489104000000,3.13862],[1489190400000,3.11086],[1489276800000,3.11086],[1489363200000,3.11086],[1489449600000,3.14111],[1489536000000,3.12555],[1489622400000,3.12554],[1489708800000,3.15955],[1489795200000,3.1742],[1489881600000,3.1742],[1489968000000,3.1742],[1490054400000,3.16723],[1490140800000,3.17847],[1490227200000,3.18078],[1490313600000,3.19032],[1490400000000,3.19285],[1490486400000,3.19285],[1490572800000,3.19285],[1490659200000,3.2073],[1490745600000,3.18796],[1490832000000,3.16215],[1490918400000,3.15875],[1491004800000,3.15096],[1491091200000,3.15096],[1491177600000,3.15096],[1491264000000,3.14984],[1491350400000,3.14679],[1491436800000,3.1635],[1491523200000,3.15256],[1491609600000,3.13086],[1491696000000,3.13086],[1491782400000,3.13086],[1491868800000,3.1156],[1491955200000,3.12899],[1492041600000,3.13084],[1492128000000,3.13696],[1492214400000,3.13087],[1492300800000,3.13087],[1492387200000,3.13087],[1492473600000,3.13087],[1492560000000,3.14797],[1492646400000,3.13884],[1492732800000,3.12094],[1492819200000,3.09249],[1492905600000,3.09249],[1492992000000,3.09249],[1493078400000,3.12987],[1493164800000,3.1135],[1493251200000,3.09817],[1493337600000,3.09431],[1493424000000,3.11349],[1493510400000,3.11349],[1493596800000,3.11349],[1493683200000,3.11349],[1493769600000,3.11349],[1493856000000,3.08495],[1493942400000,3.05275],[1494028800000,3.05788],[1494115200000,3.05788],[1494201600000,3.05788],[1494288000000,3.05788],[1494374400000,3.05788],[1494460800000,3.04858],[1494547200000,3.07531],[1494633600000,3.07409],[1494720000000,3.07409],[1494806400000,3.07409],[1494892800000,3.11224],[1494979200000,3.11258],[1495065600000,3.13402],[1495152000000,3.12106],[1495238400000,3.1386],[1495324800000,3.1386],[1495411200000,3.1386],[1495497600000,3.15997],[1495584000000,3.14638],[1495670400000,3.13286],[1495756800000,3.15726],[1495843200000,3.1373],[1495929600000,3.1373],[1496016000000,3.1373],[1496102400000,3.13854],[1496188800000,3.11913],[1496275200000,3.12782],[1496361600000,3.10589],[1496448000000,3.10577],[1496534400000,3.10577],[1496620800000,3.10577],[1496707200000,3.10577],[1496793600000,3.10519],[1496880000000,3.09342],[1496966400000,3.08327],[1497052800000,3.06634],[1497139200000,3.06634],[1497225600000,3.06634],[1497312000000,3.07985],[1497398400000,3.08428],[1497484800000,3.09588],[1497571200000,3.06589],[1497657600000,3.07125],[1497744000000,3.07125],[1497830400000,3.07125],[1497916800000,3.08336],[1498003200000,3.05957],[1498089600000,3.04846],[1498176000000,3.06448],[1498262400000,3.07406],[1498348800000,3.07406],[1498435200000,3.07406],[1498521600000,3.07287],[1498608000000,3.08962],[1498694400000,3.08962],[1498780800000,3.11252],[1498867200000,3.1028],[1498953600000,3.1028],[1499040000000,3.1028],[1499126400000,3.10873],[1499212800000,3.11413],[1499299200000,3.11594],[1499385600000,3.11336],[1499472000000,3.106],[1499558400000,3.106],[1499644800000,3.106],[1499731200000,3.11154],[1499817600000,3.11408],[1499904000000,3.13293],[1499990400000,3.1368],[1500076800000,3.16477],[1500163200000,3.16477],[1500249600000,3.16477],[1500336000000,3.18101],[1500422400000,3.2195],[1500508800000,3.21673],[1500595200000,3.20201],[1500681600000,3.23001],[1500768000000,3.23001],[1500854400000,3.23001],[1500940800000,3.21606],[1501027200000,3.24842],[1501113600000,3.24463],[1501200000000,3.25754],[1501286400000,3.26159],[1501372800000,3.26159],[1501459200000,3.26159],[1501545600000,3.25845],[1501632000000,3.27206],[1501718400000,3.27705],[1501804800000,3.27409],[1501891200000,3.27612],[1501977600000,3.27612],[1502064000000,3.27612],[1502150400000,3.24291],[1502236800000,3.26098],[1502323200000,3.23106],[1502409600000,3.22878],[1502496000000,3.21692],[1502582400000,3.21692],[1502668800000,3.21692],[1502755200000,3.23461],[1502841600000,3.21395],[1502928000000,3.21599],[1503014400000,3.19969],[1503100800000,3.2115],[1503187200000,3.2115],[1503273600000,3.2115],[1503360000000,null],[1503446400000,3.22062],[1503532800000,3.23647],[1503619200000,3.23647],[1503705600000,3.23647],[1503792000000,3.23647],[1503878400000,3.23647],[1503964800000,3.2852],[1504051200000,3.2988],[1504137600000,3.28295],[1504224000000,3.27439],[1504310400000,3.31609],[1504396800000,3.31609],[1504483200000,3.31609],[1504569600000,3.31867],[1504656000000,3.32582],[1504742400000,3.34171],[1504828800000,3.34937],[1504915200000,3.3777],[1505001600000,3.3777],[1505088000000,3.3777],[1505174400000,3.3297],[1505260800000,3.31739],[1505347200000,3.32409],[1505433600000,3.30959],[1505520000000,3.36078],[1505606400000,3.36078],[1505692800000,3.36078],[1505779200000,3.34875],[1505865600000,3.34817],[1505952000000,null],[1506038400000,null],[1506124800000,null],[1506211200000,null],[1506297600000,null],[1506384000000,null],[1506470400000,null],[1506556800000,null],[1506643200000,3.33813],[1506729600000,3.33371],[1506816000000,3.33371],[1506902400000,3.33371],[1506988800000,3.33829],[1507075200000,3.34297],[1507161600000,3.37844],[1507248000000,3.36558],[1507334400000,3.34021],[1507420800000,3.34021],[1507507200000,3.34021],[1507593600000,3.32533],[1507680000000,3.34564],[1507766400000,3.34672],[1507852800000,3.37369],[1507939200000,3.37369],[1508025600000,3.37369],[1508112000000,3.37369],[1508198400000,3.37369],[1508284800000,3.33936],[1508371200000,3.3179],[1508457600000,3.32945],[1508544000000,3.33142],[1508630400000,3.33142],[1508716800000,3.33142],[1508803200000,null],[1508889600000,3.34102],[1508976000000,3.3426],[1509062400000,3.3236],[1509148800000,3.27111],[1509235200000,3.27111],[1509321600000,3.27111],[1509408000000,3.28493],[1509494400000,3.28252],[1509580800000,3.29893],[1509667200000,3.30686],[1509753600000,3.31393],[1509840000000,3.31393],[1509926400000,3.31393],[1510012800000,3.29726],[1510099200000,3.27151],[1510185600000,3.25888],[1510272000000,3.26732],[1510358400000,3.26804],[1510444800000,3.26804],[1510531200000,3.26804],[1510617600000,3.25291],[1510704000000,3.24427],[1510790400000,3.21556],[1510876800000,3.2278],[1510963200000,3.21683],[1511049600000,3.21683],[1511136000000,3.21683],[1511222400000,3.20589],[1511308800000,3.204],[1511395200000,3.2369],[1511481600000,3.30163],[1511568000000,3.30877],[1511654400000,3.30877],[1511740800000,3.30877],[1511827200000,3.28848],[1511913600000,3.27812],[1512000000000,3.27989],[1512086400000,3.27008],[1512172800000,3.25601],[1512259200000,3.25601],[1512345600000,3.25601],[1512432000000,3.27269],[1512518400000,3.27622],[1512604800000,3.2831],[1512691200000,3.27814],[1512777600000,3.25928],[1512864000000,3.25928],[1512950400000,3.25928],[1513036800000,3.23899],[1513123200000,3.25478],[1513209600000,3.25701],[1513296000000,3.32033],[1513382400000,3.33503],[1513468800000,3.33503],[1513555200000,3.33503],[1513641600000,3.33529],[1513728000000,3.33427],[1513814400000,3.34416],[1513900800000,3.31211],[1513987200000,3.34774],[1514073600000,3.34774],[1514160000000,3.34774],[1514246400000,3.34774],[1514332800000,3.34698],[1514419200000,3.3715],[1514505600000,3.39469],[1514592000000,3.39469]], 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: [[1484438400000, 3.209563],[1484438400000, 3.209563],[1487116800000, 3.251867],[1489536000000, 3.175227],[1492214400000, 3.128068],[1494806400000, 3.105660],[1497484800000, 3.084000],[1500076800000, 3.171901],[1502755200000, 3.243105],[1505433600000, 3.337418],[1508025600000, 3.336197],[1510704000000, 3.268048],[1513296000000, 3.310377]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });