$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1483228800000,19.595],[1483315200000,19.595],[1483401600000,19.595],[1483488000000,19.595],[1483574400000,19.3827],[1483660800000,19.3827],[1483747200000,19.8243],[1483833600000,19.8243],[1483920000000,19.8243],[1484006400000,19.8243],[1484092800000,19.9502],[1484179200000,19.9965],[1484265600000,20.4872],[1484352000000,null],[1484438400000,20.7368],[1484524800000,20.7368],[1484611200000,20.7227],[1484697600000,20.8443],[1484784000000,20.7512],[1484870400000,20.7435],[1484956800000,20.6603],[1485043200000,20.6603],[1485129600000,20.6603],[1485216000000,20.6871],[1485302400000,20.6148],[1485388800000,20.5655],[1485475200000,20.4984],[1485561600000,20.4983],[1485648000000,20.4983],[1485734400000,20.4983],[1485820800000,20.432],[1485907200000,20.5128],[1485993600000,20.4791],[1486080000000,20.745],[1486166400000,20.6904],[1486252800000,20.6904],[1486339200000,20.6904],[1486425600000,20.8509],[1486512000000,20.5912],[1486598400000,20.5603],[1486684800000,20.6912],[1486771200000,20.7969],[1486857600000,20.7969],[1486944000000,20.7969],[1487030400000,20.8219],[1487116800000,20.9418],[1487203200000,20.7047],[1487289600000,20.8201],[1487376000000,20.719],[1487462400000,20.719],[1487548800000,20.719],[1487635200000,20.7373],[1487721600000,20.7054],[1487808000000,20.7149],[1487894400000,20.7786],[1487980800000,20.7147],[1488067200000,20.7147],[1488153600000,20.7147],[1488240000000,20.7609],[1488326400000,20.8484],[1488412800000,20.8183],[1488499200000,20.5808],[1488585600000,20.5299],[1488672000000,20.5299],[1488758400000,20.5299],[1488844800000,20.536],[1488931200000,20.483],[1489017600000,20.483],[1489104000000,20.216],[1489190400000,20.1737],[1489276800000,20.1737],[1489363200000,20.1737],[1489449600000,20.3706],[1489536000000,20.324],[1489622400000,20.4065],[1489708800000,20.7513],[1489795200000,20.7263],[1489881600000,20.7263],[1489968000000,20.7263],[1490054400000,20.7656],[1490140800000,20.7635],[1490227200000,20.6534],[1490313600000,20.6513],[1490400000000,20.6657],[1490486400000,20.6657],[1490572800000,20.6657],[1490659200000,20.7331],[1490745600000,20.622],[1490832000000,20.6705],[1490918400000,20.7065],[1491004800000,20.6615],[1491091200000,20.6615],[1491177600000,20.6615],[1491264000000,20.5616],[1491350400000,20.4723],[1491436800000,20.588],[1491523200000,20.4958],[1491609600000,20.3026],[1491696000000,20.3026],[1491782400000,20.3026],[1491868800000,20.177],[1491955200000,20.1955],[1492041600000,20.124],[1492128000000,20.3583],[1492214400000,20.3188],[1492300800000,20.3188],[1492387200000,20.3188],[1492473600000,20.3188],[1492560000000,20.2584],[1492646400000,20.1537],[1492732800000,20.136],[1492819200000,20.113],[1492905600000,20.113],[1492992000000,20.113],[1493078400000,20.1923],[1493164800000,20.0669],[1493251200000,19.8937],[1493337600000,19.8207],[1493424000000,19.8449],[1493510400000,19.8449],[1493596800000,19.8449],[1493683200000,19.8449],[1493769600000,19.8449],[1493856000000,19.8159],[1493942400000,19.5905],[1494028800000,19.5907],[1494115200000,19.5907],[1494201600000,19.5907],[1494288000000,19.5907],[1494374400000,19.5907],[1494460800000,19.5314],[1494547200000,19.476],[1494633600000,19.5462],[1494720000000,19.5462],[1494806400000,19.5462],[1494892800000,19.7036],[1494979200000,19.593],[1495065600000,19.5606],[1495152000000,19.6385],[1495238400000,19.6119],[1495324800000,19.6119],[1495411200000,19.6119],[1495497600000,19.6799],[1495584000000,19.7473],[1495670400000,19.6391],[1495756800000,19.6157],[1495843200000,19.6145],[1495929600000,19.6145],[1496016000000,19.6145],[1496102400000,19.6229],[1496188800000,19.6398],[1496275200000,19.6113],[1496361600000,19.4134],[1496448000000,19.4288],[1496534400000,19.4288],[1496620800000,19.4288],[1496707200000,19.4288],[1496793600000,19.6465],[1496880000000,19.801],[1496966400000,19.7146],[1497052800000,19.6785],[1497139200000,19.6785],[1497225600000,19.6785],[1497312000000,19.6665],[1497398400000,19.596],[1497484800000,19.7216],[1497571200000,19.7253],[1497657600000,19.7907],[1497744000000,19.7907],[1497830400000,19.7907],[1497916800000,19.8186],[1498003200000,19.7932],[1498089600000,19.6828],[1498176000000,19.6247],[1498262400000,19.6996],[1498348800000,19.6996],[1498435200000,19.6996],[1498521600000,19.7191],[1498608000000,19.8483],[1498694400000,19.8483],[1498780800000,20.0342],[1498867200000,19.9972],[1498953600000,19.9972],[1499040000000,19.9972],[1499126400000,19.9038],[1499212800000,19.7946],[1499299200000,19.8381],[1499385600000,19.7692],[1499472000000,19.7904],[1499558400000,19.7904],[1499644800000,19.7904],[1499731200000,19.742],[1499817600000,19.7632],[1499904000000,19.8217],[1499990400000,20.0734],[1500076800000,20.1898],[1500163200000,20.1898],[1500249600000,20.1898],[1500336000000,20.3326],[1500422400000,20.5714],[1500508800000,20.59],[1500595200000,20.5229],[1500681600000,20.5054],[1500768000000,20.5054],[1500854400000,20.5054],[1500940800000,20.5158],[1501027200000,20.5687],[1501113600000,20.4799],[1501200000000,20.7211],[1501286400000,20.6329],[1501372800000,20.6329],[1501459200000,20.6329],[1501545600000,20.6076],[1501632000000,20.6186],[1501718400000,20.6385],[1501804800000,20.5451],[1501891200000,20.6007],[1501977600000,20.6007],[1502064000000,20.6007],[1502150400000,20.4027],[1502236800000,20.4277],[1502323200000,20.2819],[1502409600000,20.246],[1502496000000,20.2052],[1502582400000,20.2052],[1502668800000,20.2052],[1502755200000,20.1765],[1502841600000,20.0685],[1502928000000,20.0937],[1503014400000,20.2188],[1503100800000,20.1792],[1503187200000,20.1792],[1503273600000,20.1792],[1503360000000,null],[1503446400000,20.1244],[1503532800000,20.1803],[1503619200000,20.1803],[1503705600000,20.1803],[1503792000000,20.1803],[1503878400000,20.1803],[1503964800000,20.2742],[1504051200000,20.2838],[1504137600000,20.2987],[1504224000000,20.2338],[1504310400000,20.4328],[1504396800000,20.4328],[1504483200000,20.4328],[1504569600000,20.6159],[1504656000000,20.7084],[1504742400000,20.7201],[1504828800000,20.8552],[1504915200000,21.1303],[1505001600000,21.1303],[1505088000000,21.1303],[1505174400000,20.9203],[1505260800000,20.9123],[1505347200000,20.9543],[1505433600000,20.9004],[1505520000000,21.0397],[1505606400000,21.0397],[1505692800000,21.0397],[1505779200000,20.9277],[1505865600000,20.8956],[1505952000000,null],[1506038400000,null],[1506124800000,null],[1506211200000,null],[1506297600000,null],[1506384000000,null],[1506470400000,null],[1506556800000,null],[1506643200000,20.7497],[1506729600000,20.815],[1506816000000,20.815],[1506902400000,20.815],[1506988800000,20.8188],[1507075200000,20.8694],[1507161600000,21.086],[1507248000000,20.9578],[1507334400000,20.7865],[1507420800000,20.7865],[1507507200000,20.7865],[1507593600000,20.5968],[1507680000000,20.6953],[1507766400000,20.6696],[1507852800000,20.8093],[1507939200000,20.8093],[1508025600000,20.8093],[1508112000000,20.8093],[1508198400000,20.8093],[1508284800000,20.7703],[1508371200000,20.6858],[1508457600000,20.8608],[1508544000000,20.8327],[1508630400000,20.8327],[1508716800000,20.8327],[1508803200000,null],[1508889600000,20.7492],[1508976000000,20.6442],[1509062400000,20.6777],[1509148800000,20.5247],[1509235200000,20.5247],[1509321600000,20.5247],[1509408000000,20.5666],[1509494400000,20.5536],[1509580800000,20.6205],[1509667200000,20.7459],[1509753600000,20.6997],[1509840000000,20.6997],[1509926400000,20.6997],[1510012800000,20.5817],[1510099200000,20.4671],[1510185600000,20.4528],[1510272000000,20.3959],[1510358400000,20.3347],[1510444800000,20.3347],[1510531200000,20.3347],[1510617600000,20.2375],[1510704000000,20.2591],[1510790400000,20.1225],[1510876800000,20.0976],[1510963200000,19.9947],[1511049600000,19.9947],[1511136000000,19.9947],[1511222400000,20.0055],[1511308800000,20.0721],[1511395200000,20.1949],[1511481600000,20.4902],[1511568000000,20.5103],[1511654400000,20.5103],[1511740800000,20.5103],[1511827200000,20.4864],[1511913600000,20.4528],[1512000000000,20.445],[1512086400000,20.5485],[1512172800000,20.4894],[1512259200000,20.4894],[1512345600000,20.4894],[1512432000000,20.7193],[1512518400000,20.7463],[1512604800000,20.5814],[1512691200000,20.3819],[1512777600000,20.3789],[1512864000000,20.3789],[1512950400000,20.3789],[1513036800000,20.4219],[1513123200000,20.5756],[1513209600000,20.6419],[1513296000000,21.0116],[1513382400000,21.2105],[1513468800000,21.2105],[1513555200000,21.2105],[1513641600000,21.3598],[1513728000000,21.3992],[1513814400000,21.3918],[1513900800000,21.3801],[1513987200000,21.572],[1514073600000,21.572],[1514160000000,21.572],[1514246400000,21.572],[1514332800000,21.5671],[1514419200000,21.7059],[1514505600000,21.8496],[1514592000000,21.8496]], 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, 20.256191],[1484438400000, 20.256191],[1487116800000, 20.720686],[1489536000000, 20.570012],[1492214400000, 20.256369],[1494806400000, 19.634183],[1497484800000, 19.682905],[1500076800000, 20.205008],[1502755200000, 20.305444],[1505433600000, 20.818946],[1508025600000, 20.758542],[1510704000000, 20.376643],[1513296000000, 21.048555]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });