$(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: [[1483228800000,2.97354],[1483315200000,2.97354],[1483401600000,2.97354],[1483488000000,2.97354],[1483574400000,2.92518],[1483660800000,2.92518],[1483747200000,2.9956],[1483833600000,2.9956],[1483920000000,2.9956],[1484006400000,2.9956],[1484092800000,3.00521],[1484179200000,2.97581],[1484265600000,3.06047],[1484352000000,null],[1484438400000,3.10916],[1484524800000,3.10916],[1484611200000,3.09693],[1484697600000,3.10625],[1484784000000,3.07542],[1484870400000,3.06618],[1484956800000,3.06732],[1485043200000,3.06732],[1485129600000,3.06732],[1485216000000,3.07916],[1485302400000,3.08142],[1485388800000,3.08223],[1485475200000,3.07606],[1485561600000,3.07253],[1485648000000,3.07253],[1485734400000,3.07253],[1485820800000,3.05409],[1485907200000,3.08175],[1485993600000,3.09077],[1486080000000,3.0969],[1486166400000,3.08033],[1486252800000,3.08033],[1486339200000,3.08033],[1486425600000,3.08692],[1486512000000,3.04362],[1486598400000,3.03653],[1486684800000,3.0469],[1486771200000,3.04809],[1486857600000,3.04809],[1486944000000,3.04809],[1487030400000,3.0464],[1487116800000,3.0561],[1487203200000,3.01475],[1487289600000,3.03419],[1487376000000,3.04651],[1487462400000,3.04651],[1487548800000,3.04651],[1487635200000,3.02686],[1487721600000,3.00926],[1487808000000,2.99436],[1487894400000,2.99532],[1487980800000,3.00662],[1488067200000,3.00662],[1488153600000,3.00662],[1488240000000,2.99763],[1488326400000,3.00866],[1488412800000,3.00514],[1488499200000,2.99215],[1488585600000,3.00409],[1488672000000,3.00409],[1488758400000,3.00409],[1488844800000,3.00215],[1488931200000,2.99443],[1489017600000,2.99443],[1489104000000,2.97213],[1489190400000,2.96883],[1489276800000,2.96883],[1489363200000,2.96883],[1489449600000,2.99835],[1489536000000,3.01175],[1489622400000,2.9866],[1489708800000,3.05127],[1489795200000,3.05385],[1489881600000,3.05385],[1489968000000,3.05385],[1490054400000,3.04064],[1490140800000,3.05558],[1490227200000,3.05897],[1490313600000,3.06898],[1490400000000,3.073],[1490486400000,3.073],[1490572800000,3.073],[1490659200000,3.09598],[1490745600000,3.08969],[1490832000000,3.04306],[1490918400000,3.029],[1491004800000,3.03067],[1491091200000,3.03067],[1491177600000,3.03067],[1491264000000,3.02811],[1491350400000,3.00566],[1491436800000,3.0286],[1491523200000,3.01426],[1491609600000,2.98796],[1491696000000,2.98796],[1491782400000,2.98796],[1491868800000,2.96468],[1491955200000,2.97664],[1492041600000,2.98281],[1492128000000,2.98024],[1492214400000,2.97445],[1492300800000,2.97445],[1492387200000,2.97445],[1492473600000,2.97445],[1492560000000,2.98993],[1492646400000,2.98655],[1492732800000,2.98848],[1492819200000,2.96698],[1492905600000,2.96698],[1492992000000,2.96698],[1493078400000,3.01963],[1493164800000,3.02101],[1493251200000,3.02947],[1493337600000,3.00181],[1493424000000,3.01409],[1493510400000,3.01409],[1493596800000,3.01409],[1493683200000,3.01409],[1493769600000,3.01409],[1493856000000,3.00821],[1493942400000,3.001],[1494028800000,2.99973],[1494115200000,2.99973],[1494201600000,2.99973],[1494288000000,2.99973],[1494374400000,2.99973],[1494460800000,2.96827],[1494547200000,2.97496],[1494633600000,2.97844],[1494720000000,2.97844],[1494806400000,2.97844],[1494892800000,3.0026],[1494979200000,3.00701],[1495065600000,3.00988],[1495152000000,3.00786],[1495238400000,3.01131],[1495324800000,3.01131],[1495411200000,3.01131],[1495497600000,3.0253],[1495584000000,3.02871],[1495670400000,3.01789],[1495756800000,3.02921],[1495843200000,3.03226],[1495929600000,3.03226],[1496016000000,3.03226],[1496102400000,3.03581],[1496188800000,3.01408],[1496275200000,3.02618],[1496361600000,3.01487],[1496448000000,3.0256],[1496534400000,3.0256],[1496620800000,3.0256],[1496707200000,3.0256],[1496793600000,3.03051],[1496880000000,3.00089],[1496966400000,2.99974],[1497052800000,2.99104],[1497139200000,2.99104],[1497225600000,2.99104],[1497312000000,2.99111],[1497398400000,2.9924],[1497484800000,2.99078],[1497571200000,2.98521],[1497657600000,2.98435],[1497744000000,2.98435],[1497830400000,2.98435],[1497916800000,2.9908],[1498003200000,2.97663],[1498089600000,2.96586],[1498176000000,2.97576],[1498262400000,2.97693],[1498348800000,2.97693],[1498435200000,2.97693],[1498521600000,2.98379],[1498608000000,3.01124],[1498694400000,3.01124],[1498780800000,3.06401],[1498867200000,3.08075],[1498953600000,3.08075],[1499040000000,3.08075],[1499126400000,3.06701],[1499212800000,3.05345],[1499299200000,3.07457],[1499385600000,3.08064],[1499472000000,3.08849],[1499558400000,3.08849],[1499644800000,3.08849],[1499731200000,3.07886],[1499817600000,3.07305],[1499904000000,3.07889],[1499990400000,3.10682],[1500076800000,3.11531],[1500163200000,3.11531],[1500249600000,3.11531],[1500336000000,3.11959],[1500422400000,3.13223],[1500508800000,3.12992],[1500595200000,3.11239],[1500681600000,3.13337],[1500768000000,3.13337],[1500854400000,3.13337],[1500940800000,3.13697],[1501027200000,3.16308],[1501113600000,3.14929],[1501200000000,3.16092],[1501286400000,3.18771],[1501372800000,3.18771],[1501459200000,3.18771],[1501545600000,3.17742],[1501632000000,3.19605],[1501718400000,3.19461],[1501804800000,3.19487],[1501891200000,3.19306],[1501977600000,3.19306],[1502064000000,3.19306],[1502150400000,3.16282],[1502236800000,3.16737],[1502323200000,3.13662],[1502409600000,3.15032],[1502496000000,3.14634],[1502582400000,3.14634],[1502668800000,3.14634],[1502755200000,3.16067],[1502841600000,3.16999],[1502928000000,3.15816],[1503014400000,3.1376],[1503100800000,3.13786],[1503187200000,3.13786],[1503273600000,3.13786],[1503360000000,null],[1503446400000,3.14071],[1503532800000,3.15764],[1503619200000,3.15764],[1503705600000,3.15764],[1503792000000,3.15764],[1503878400000,3.15764],[1503964800000,3.19768],[1504051200000,3.21412],[1504137600000,3.20528],[1504224000000,3.20436],[1504310400000,3.23831],[1504396800000,3.23831],[1504483200000,3.23831],[1504569600000,3.25561],[1504656000000,3.25902],[1504742400000,3.26275],[1504828800000,3.26763],[1504915200000,3.29643],[1505001600000,3.29643],[1505088000000,3.29643],[1505174400000,3.26029],[1505260800000,3.25609],[1505347200000,3.27215],[1505433600000,3.26116],[1505520000000,3.30032],[1505606400000,3.30032],[1505692800000,3.30032],[1505779200000,3.28769],[1505865600000,3.28346],[1505952000000,null],[1506038400000,null],[1506124800000,null],[1506211200000,null],[1506297600000,null],[1506384000000,null],[1506470400000,null],[1506556800000,null],[1506643200000,3.2606],[1506729600000,3.252],[1506816000000,3.252],[1506902400000,3.252],[1506988800000,3.25888],[1507075200000,3.28042],[1507161600000,3.31145],[1507248000000,3.30566],[1507334400000,3.28077],[1507420800000,3.28077],[1507507200000,3.28077],[1507593600000,3.27093],[1507680000000,3.29226],[1507766400000,3.29325],[1507852800000,3.29339],[1507939200000,3.29339],[1508025600000,3.29339],[1508112000000,3.29339],[1508198400000,3.29339],[1508284800000,3.25039],[1508371200000,3.23595],[1508457600000,3.2516],[1508544000000,3.25197],[1508630400000,3.25197],[1508716800000,3.25197],[1508803200000,null],[1508889600000,3.25126],[1508976000000,3.25719],[1509062400000,3.24316],[1509148800000,3.20252],[1509235200000,3.20252],[1509321600000,3.20252],[1509408000000,3.2088],[1509494400000,3.20916],[1509580800000,3.2],[1509667200000,3.21278],[1509753600000,3.21006],[1509840000000,3.21006],[1509926400000,3.21006],[1510012800000,3.18577],[1510099200000,3.17415],[1510185600000,3.1732],[1510272000000,3.17268],[1510358400000,3.17177],[1510444800000,3.17177],[1510531200000,3.17177],[1510617600000,3.15996],[1510704000000,3.14645],[1510790400000,3.14405],[1510876800000,3.15222],[1510963200000,3.14307],[1511049600000,3.14307],[1511136000000,3.14307],[1511222400000,3.13226],[1511308800000,3.1208],[1511395200000,3.16827],[1511481600000,3.23298],[1511568000000,3.24067],[1511654400000,3.24067],[1511740800000,3.24067],[1511827200000,3.23126],[1511913600000,3.22484],[1512000000000,3.22233],[1512086400000,3.24338],[1512172800000,3.23199],[1512259200000,3.23199],[1512345600000,3.23199],[1512432000000,3.24093],[1512518400000,3.2285],[1512604800000,3.22721],[1512691200000,3.21048],[1512777600000,3.19052],[1512864000000,3.19052],[1512950400000,3.19052],[1513036800000,3.19582],[1513123200000,3.21929],[1513209600000,3.23048],[1513296000000,3.26342],[1513382400000,3.27626],[1513468800000,3.27626],[1513555200000,3.27626],[1513641600000,3.3013],[1513728000000,3.31306],[1513814400000,3.32915],[1513900800000,3.3086],[1513987200000,3.33547],[1514073600000,3.33547],[1514160000000,3.33547],[1514246400000,3.33547],[1514332800000,3.33471],[1514419200000,3.36734],[1514505600000,3.40221],[1514592000000,3.40221]], 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.037468],[1484438400000, 3.037468],[1487116800000, 3.042961],[1489536000000, 3.025750],[1492214400000, 2.996690],[1494806400000, 3.007669],[1497484800000, 2.999013],[1500076800000, 3.114019],[1502755200000, 3.166143],[1505433600000, 3.267637],[1508025600000, 3.262932],[1510704000000, 3.185330],[1513296000000, 3.279305]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });