$(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: [[1483228800000,28.4226],[1483315200000,28.4226],[1483401600000,28.4226],[1483488000000,28.4226],[1483574400000,27.8588],[1483660800000,27.8588],[1483747200000,28.6125],[1483833600000,28.6125],[1483920000000,28.6125],[1484006400000,28.6125],[1484092800000,28.7283],[1484179200000,28.477],[1484265600000,29.102],[1484352000000,null],[1484438400000,29.4982],[1484524800000,29.4982],[1484611200000,29.3682],[1484697600000,29.5197],[1484784000000,29.3173],[1484870400000,29.2753],[1484956800000,29.162],[1485043200000,29.162],[1485129600000,29.162],[1485216000000,29.2868],[1485302400000,29.2688],[1485388800000,29.2297],[1485475200000,29.118],[1485561600000,29.044],[1485648000000,29.044],[1485734400000,29.044],[1485820800000,28.8275],[1485907200000,29.124],[1485993600000,29.1315],[1486080000000,29.1675],[1486166400000,29.0845],[1486252800000,29.0845],[1486339200000,29.0845],[1486425600000,29.2038],[1486512000000,28.8565],[1486598400000,28.7022],[1486684800000,28.8953],[1486771200000,28.9181],[1486857600000,28.9181],[1486944000000,28.9181],[1487030400000,28.8738],[1487116800000,28.9269],[1487203200000,28.4917],[1487289600000,28.7483],[1487376000000,28.7828],[1487462400000,28.7828],[1487548800000,28.7828],[1487635200000,28.6901],[1487721600000,28.4947],[1487808000000,28.3566],[1487894400000,28.448],[1487980800000,28.6194],[1488067200000,28.6194],[1488153600000,28.6194],[1488240000000,28.6417],[1488326400000,28.7854],[1488412800000,28.6294],[1488499200000,28.4838],[1488585600000,28.6515],[1488672000000,28.6515],[1488758400000,28.6515],[1488844800000,28.621],[1488931200000,28.5123],[1489017600000,28.5123],[1489104000000,28.3913],[1489190400000,28.4348],[1489276800000,28.4348],[1489363200000,28.4348],[1489449600000,28.6777],[1489536000000,28.602],[1489622400000,28.5528],[1489708800000,28.9377],[1489795200000,28.8925],[1489881600000,28.8925],[1489968000000,28.8925],[1490054400000,28.9098],[1490140800000,29.0045],[1490227200000,29.0923],[1490313600000,29.1844],[1490400000000,29.3081],[1490486400000,29.3081],[1490572800000,29.3081],[1490659200000,29.5675],[1490745600000,29.4503],[1490832000000,29.0627],[1490918400000,28.9642],[1491004800000,28.8889],[1491091200000,28.8889],[1491177600000,28.8889],[1491264000000,28.811],[1491350400000,28.8844],[1491436800000,28.9983],[1491523200000,28.9052],[1491609600000,28.6734],[1491696000000,28.6734],[1491782400000,28.6734],[1491868800000,28.49],[1491955200000,28.5504],[1492041600000,28.5016],[1492128000000,28.5567],[1492214400000,28.5012],[1492300800000,28.5012],[1492387200000,28.5012],[1492473600000,28.5012],[1492560000000,28.6758],[1492646400000,28.7291],[1492732800000,28.7501],[1492819200000,28.5987],[1492905600000,28.5987],[1492992000000,28.5987],[1493078400000,28.9356],[1493164800000,29.0047],[1493251200000,28.9633],[1493337600000,28.8906],[1493424000000,29.0311],[1493510400000,29.0311],[1493596800000,29.0311],[1493683200000,29.0311],[1493769600000,29.0311],[1493856000000,28.9609],[1493942400000,28.941],[1494028800000,29.0569],[1494115200000,29.0569],[1494201600000,29.0569],[1494288000000,29.0569],[1494374400000,29.0569],[1494460800000,28.7893],[1494547200000,28.7018],[1494633600000,28.7935],[1494720000000,28.7935],[1494806400000,28.7935],[1494892800000,29.045],[1494979200000,29.2327],[1495065600000,29.3683],[1495152000000,29.3733],[1495238400000,29.4786],[1495324800000,29.4786],[1495411200000,29.4786],[1495497600000,29.6162],[1495584000000,29.5005],[1495670400000,29.3997],[1495756800000,29.4667],[1495843200000,29.4963],[1495929600000,29.4963],[1496016000000,29.4963],[1496102400000,29.5227],[1496188800000,29.444],[1496275200000,29.5228],[1496361600000,29.4734],[1496448000000,29.4793],[1496534400000,29.4793],[1496620800000,29.4793],[1496707200000,29.4793],[1496793600000,29.5484],[1496880000000,29.3946],[1496966400000,29.363],[1497052800000,29.197],[1497139200000,29.197],[1497225600000,29.197],[1497312000000,29.2539],[1497398400000,29.1588],[1497484800000,29.1446],[1497571200000,29.0395],[1497657600000,29.0587],[1497744000000,29.0587],[1497830400000,29.0587],[1497916800000,29.1433],[1498003200000,29.0445],[1498089600000,29.0085],[1498176000000,29.0681],[1498262400000,29.0846],[1498348800000,29.0846],[1498435200000,29.0846],[1498521600000,29.1272],[1498608000000,29.4132],[1498694400000,29.4132],[1498780800000,29.7868],[1498867200000,29.6979],[1498953600000,29.6979],[1499040000000,29.6979],[1499126400000,29.5531],[1499212800000,29.5375],[1499299200000,29.5906],[1499385600000,29.6697],[1499472000000,29.6974],[1499558400000,29.6974],[1499644800000,29.6974],[1499731200000,29.611],[1499817600000,29.6211],[1499904000000,29.6651],[1499990400000,29.6484],[1500076800000,29.6992],[1500163200000,29.6992],[1500249600000,29.6992],[1500336000000,29.7609],[1500422400000,29.9623],[1500508800000,29.9214],[1500595200000,29.7787],[1500681600000,30.1408],[1500768000000,30.1408],[1500854400000,30.1408],[1500940800000,30.0782],[1501027200000,30.2216],[1501113600000,30.1403],[1501200000000,30.288],[1501286400000,30.3964],[1501372800000,30.3964],[1501459200000,30.3964],[1501545600000,30.3199],[1501632000000,30.5424],[1501718400000,30.6421],[1501804800000,30.7005],[1501891200000,30.6703],[1501977600000,30.6703],[1502064000000,30.6703],[1502150400000,30.4185],[1502236800000,30.4004],[1502323200000,30.1774],[1502409600000,30.1423],[1502496000000,30.231],[1502582400000,30.231],[1502668800000,30.231],[1502755200000,30.2365],[1502841600000,30.0626],[1502928000000,29.9457],[1503014400000,29.8348],[1503100800000,29.9257],[1503187200000,29.9257],[1503273600000,29.9257],[1503360000000,null],[1503446400000,29.9592],[1503532800000,30.1412],[1503619200000,30.1412],[1503705600000,30.1412],[1503792000000,30.1412],[1503878400000,30.1412],[1503964800000,30.4275],[1504051200000,30.6508],[1504137600000,30.4806],[1504224000000,30.3831],[1504310400000,30.6921],[1504396800000,30.6921],[1504483200000,30.6921],[1504569600000,30.8414],[1504656000000,30.8596],[1504742400000,30.9994],[1504828800000,31.1284],[1504915200000,31.444],[1505001600000,31.444],[1505088000000,31.444],[1505174400000,31.2026],[1505260800000,31.0484],[1505347200000,31.2408],[1505433600000,31.0936],[1505520000000,31.3722],[1505606400000,31.3722],[1505692800000,31.3722],[1505779200000,31.2807],[1505865600000,31.2786],[1505952000000,null],[1506038400000,null],[1506124800000,null],[1506211200000,null],[1506297600000,null],[1506384000000,null],[1506470400000,null],[1506556800000,null],[1506643200000,31.2365],[1506729600000,31.3786],[1506816000000,31.3786],[1506902400000,31.3786],[1506988800000,31.3032],[1507075200000,31.3854],[1507161600000,31.5995],[1507248000000,31.4682],[1507334400000,31.3044],[1507420800000,31.3044],[1507507200000,31.3044],[1507593600000,31.1876],[1507680000000,31.3637],[1507766400000,31.3889],[1507852800000,31.5781],[1507939200000,31.5781],[1508025600000,31.5781],[1508112000000,31.5781],[1508198400000,31.5781],[1508284800000,31.1429],[1508371200000,31.0473],[1508457600000,31.36],[1508544000000,31.3637],[1508630400000,31.3637],[1508716800000,31.3637],[1508803200000,null],[1508889600000,31.3665],[1508976000000,31.5485],[1509062400000,31.5293],[1509148800000,31.1893],[1509235200000,31.1893],[1509321600000,31.1893],[1509408000000,31.1543],[1509494400000,31.262],[1509580800000,31.2112],[1509667200000,31.3616],[1509753600000,31.4304],[1509840000000,31.4304],[1509926400000,31.4304],[1510012800000,31.1196],[1510099200000,30.9298],[1510185600000,30.8714],[1510272000000,30.8876],[1510358400000,30.9026],[1510444800000,30.9026],[1510531200000,30.9026],[1510617600000,30.8744],[1510704000000,31.12],[1510790400000,31.3549],[1510876800000,31.1654],[1510963200000,31.2557],[1511049600000,31.2557],[1511136000000,31.2557],[1511222400000,31.1926],[1511308800000,31.0436],[1511395200000,31.3082],[1511481600000,31.8254],[1511568000000,31.9653],[1511654400000,31.9653],[1511740800000,31.9653],[1511827200000,32.0735],[1511913600000,31.9452],[1512000000000,31.9494],[1512086400000,32.177],[1512172800000,32.1541],[1512259200000,32.1541],[1512345600000,32.1541],[1512432000000,32.291],[1512518400000,32.1817],[1512604800000,32.0349],[1512691200000,31.9629],[1512777600000,31.8318],[1512864000000,31.8318],[1512950400000,31.8318],[1513036800000,32.0093],[1513123200000,31.9766],[1513209600000,32.0011],[1513296000000,32.4672],[1513382400000,32.626],[1513468800000,32.626],[1513555200000,32.626],[1513641600000,32.877],[1513728000000,32.9676],[1513814400000,33.0012],[1513900800000,33.0344],[1513987200000,33.1302],[1514073600000,33.1302],[1514160000000,33.1302],[1514246400000,33.1302],[1514332800000,33.1227],[1514419200000,33.2447],[1514505600000,33.4954],[1514592000000,33.4954]], 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, 28.899698],[1484438400000, 28.899698],[1487116800000, 28.820265],[1489536000000, 28.832326],[1492214400000, 28.739900],[1494806400000, 29.194994],[1497484800000, 29.261393],[1500076800000, 29.869121],[1502755200000, 30.270953],[1505433600000, 31.113481],[1508025600000, 31.368841],[1510704000000, 31.338593],[1513296000000, 32.586827]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });