$(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: 'Курс HUF, грн'}, 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: 'Курс HUF', data: [[1420070400000,0.061119],[1420156800000,0.061119],[1420243200000,0.061119],[1420329600000,0.061119],[1420416000000,0.061119],[1420502400000,0.061119],[1420588800000,0.059064],[1420675200000,0.059064],[1420761600000,null],[1420848000000,0.058458],[1420934400000,0.058458],[1421020800000,0.058458],[1421107200000,0.05865],[1421193600000,0.058524],[1421280000000,null],[1421366400000,0.058056],[1421452800000,0.057372],[1421539200000,0.057426],[1421625600000,0.057426],[1421712000000,0.057178],[1421798400000,0.057429],[1421884800000,0.05756],[1421971200000,null],[1422057600000,0.058142],[1422144000000,0.058142],[1422230400000,0.058142],[1422316800000,0.056943],[1422403200000,0.057545],[1422489600000,0.057475],[1422576000000,0.057975],[1422662400000,0.058598],[1422748800000,0.058598],[1422835200000,0.058598],[1422921600000,0.058501],[1423008000000,0.059148],[1423094400000,0.061553],[1423180800000,0.066707],[1423267200000,null],[1423353600000,0.0859],[1423440000000,0.0859],[1423526400000,0.093275],[1423612800000,0.091141],[1423699200000,0.093337],[1423785600000,0.09156],[1423872000000,0.095401],[1423958400000,0.095401],[1424044800000,0.095401],[1424131200000,0.096877],[1424217600000,0.097977],[1424304000000,0.099385],[1424390400000,0.101107],[1424476800000,0.103892],[1424563200000,0.103892],[1424649600000,0.103892],[1424736000000,0.104775],[1424822400000,0.104767],[1424908800000,0.104166],[1424995200000,0.111437],[1425081600000,0.103736],[1425168000000,0.103736],[1425254400000,0.103736],[1425340800000,0.099622],[1425427200000,0.091792],[1425513600000,0.087022],[1425600000000,0.083812],[1425686400000,0.083],[1425772800000,0.083],[1425859200000,0.083],[1425945600000,0.083],[1426032000000,0.07734],[1426118400000,0.075161],[1426204800000,0.074957],[1426291200000,0.075564],[1426377600000,0.075564],[1426464000000,0.075564],[1426550400000,0.075092],[1426636800000,0.077338],[1426723200000,0.081468],[1426809600000,0.08151],[1426896000000,0.081659],[1426982400000,0.081659],[1427068800000,0.081659],[1427155200000,0.082098],[1427241600000,0.083385],[1427328000000,0.08534],[1427414400000,0.086398],[1427500800000,0.086103],[1427587200000,0.086103],[1427673600000,0.086103],[1427760000000,0.084679],[1427846400000,0.084265],[1427932800000,0.0846],[1428019200000,0.084988],[1428105600000,0.084248],[1428192000000,0.084248],[1428278400000,0.084248],[1428364800000,0.084764],[1428451200000,0.085251],[1428537600000,0.086093],[1428624000000,0.084957],[1428710400000,0.081331],[1428796800000,0.081331],[1428883200000,0.081331],[1428969600000,0.081331],[1429056000000,0.081646],[1429142400000,0.077369],[1429228800000,0.076327],[1429315200000,0.075563],[1429401600000,0.075563],[1429488000000,0.075563],[1429574400000,0.080105],[1429660800000,0.080144],[1429747200000,0.080651],[1429833600000,0.08048],[1429920000000,0.080608],[1430006400000,0.080608],[1430092800000,0.080608],[1430179200000,0.082271],[1430265600000,0.080724],[1430352000000,0.076535],[1430438400000,0.078267],[1430524800000,0.078267],[1430611200000,0.078267],[1430697600000,0.078267],[1430784000000,0.078267],[1430870400000,0.077871],[1430956800000,0.07753],[1431043200000,0.07692],[1431129600000,0.076022],[1431216000000,0.076022],[1431302400000,0.076022],[1431388800000,0.076022],[1431475200000,0.075658],[1431561600000,0.0752],[1431648000000,0.076379],[1431734400000,0.076457],[1431820800000,0.076457],[1431907200000,0.076457],[1431993600000,0.081909],[1432080000000,0.077885],[1432166400000,0.075496],[1432252800000,0.074997],[1432339200000,0.075783],[1432425600000,0.075783],[1432512000000,0.075783],[1432598400000,0.075397],[1432684800000,0.07571],[1432771200000,null],[1432857600000,0.074305],[1432944000000,0.074879],[1433030400000,0.074879],[1433116800000,0.074879],[1433203200000,0.074879],[1433289600000,0.075137],[1433376000000,0.075118],[1433462400000,0.076149],[1433548800000,0.075773],[1433635200000,0.075773],[1433721600000,0.075773],[1433808000000,0.075026],[1433894400000,0.076256],[1433980800000,0.076405],[1434067200000,0.075648],[1434153600000,0.075699],[1434240000000,0.075699],[1434326400000,0.075699],[1434412800000,0.076799],[1434499200000,0.079642],[1434585600000,0.078307],[1434672000000,0.078176],[1434758400000,0.078139],[1434844800000,0.078139],[1434931200000,0.078139],[1435017600000,0.079454],[1435104000000,0.077738],[1435190400000,0.07633],[1435276800000,0.076183],[1435363200000,0.075294],[1435449600000,0.075294],[1435536000000,0.075294],[1435622400000,0.075294],[1435708800000,0.074629],[1435795200000,0.07418],[1435881600000,0.073849],[1435968000000,0.073925],[1436054400000,0.073925],[1436140800000,0.073925],[1436227200000,0.07405],[1436313600000,0.075023],[1436400000000,0.0762],[1436486400000,0.07667],[1436572800000,0.078819],[1436659200000,0.078819],[1436745600000,0.078819],[1436832000000,0.078057],[1436918400000,0.078041],[1437004800000,0.078315],[1437091200000,0.077286],[1437177600000,0.07762],[1437264000000,0.07762],[1437350400000,0.07762],[1437436800000,0.077311],[1437523200000,0.077446],[1437609600000,0.077831],[1437696000000,0.078214],[1437782400000,0.077593],[1437868800000,0.077593],[1437955200000,0.077593],[1438041600000,0.077593],[1438128000000,0.078413],[1438214400000,0.078719],[1438300800000,0.076638],[1438387200000,0.075153],[1438473600000,0.075153],[1438560000000,0.075153],[1438646400000,0.077245],[1438732800000,0.077335],[1438819200000,0.075881],[1438905600000,0.075328],[1438992000000,0.07435],[1439078400000,0.07435],[1439164800000,0.07435],[1439251200000,0.074868],[1439337600000,0.075665],[1439424000000,0.076654],[1439510400000,0.076509],[1439596800000,0.078231],[1439683200000,0.078231],[1439769600000,0.078231],[1439856000000,0.078839],[1439942400000,0.079054],[1440028800000,0.078637],[1440115200000,0.078869],[1440201600000,0.079694],[1440288000000,0.079694],[1440374400000,0.079694],[1440460800000,null],[1440547200000,0.083348],[1440633600000,0.077421],[1440720000000,0.076326],[1440806400000,0.075832],[1440892800000,0.075832],[1440979200000,0.075832],[1441065600000,0.077708],[1441152000000,null],[1441238400000,null],[1441324800000,null],[1441411200000,null],[1441497600000,null],[1441584000000,null],[1441670400000,null],[1441756800000,null],[1441843200000,null],[1441929600000,null],[1442016000000,null],[1442102400000,null],[1442188800000,null],[1442275200000,null],[1442361600000,null],[1442448000000,0.078579],[1442534400000,null],[1442620800000,0.079759],[1442707200000,0.079759],[1442793600000,0.079759],[1442880000000,0.079282],[1442966400000,0.078085],[1443052800000,0.077374],[1443139200000,0.07679],[1443225600000,0.076409],[1443312000000,0.076409],[1443398400000,0.076409],[1443484800000,0.076449],[1443571200000,0.076875],[1443657600000,0.076113],[1443744000000,0.075423],[1443830400000,0.075408],[1443916800000,0.075408],[1444003200000,0.075408],[1444089600000,0.076428],[1444176000000,0.076111],[1444262400000,0.076763],[1444348800000,0.076786],[1444435200000,0.078385],[1444521600000,0.078385],[1444608000000,0.078385],[1444694400000,0.079822],[1444780800000,0.080077],[1444867200000,0.080077],[1444953600000,0.080196],[1445040000000,0.078126],[1445126400000,0.078126],[1445212800000,0.078126],[1445299200000,0.079155],[1445385600000,0.080585],[1445472000000,0.082476],[1445558400000,0.081017],[1445644800000,0.080728],[1445731200000,0.080728],[1445817600000,0.080728],[1445904000000,0.081316],[1445990400000,0.080834],[1446076800000,0.08137],[1446163200000,0.080379],[1446249600000,0.081743],[1446336000000,0.081743],[1446422400000,0.081743],[1446508800000,0.08133],[1446595200000,0.080599],[1446681600000,0.080148],[1446768000000,0.079466],[1446854400000,0.078357],[1446940800000,0.078357],[1447027200000,0.078357],[1447113600000,0.077982],[1447200000000,0.077967],[1447286400000,0.078237],[1447372800000,0.078722],[1447459200000,0.079498],[1447545600000,0.079498],[1447632000000,0.079498],[1447718400000,0.079785],[1447804800000,0.081388],[1447891200000,0.082029],[1447977600000,0.082115],[1448064000000,0.082703],[1448150400000,0.082703],[1448236800000,0.082703],[1448323200000,0.082223],[1448409600000,0.081786],[1448496000000,0.080627],[1448582400000,0.080192],[1448668800000,0.080973],[1448755200000,0.080973],[1448841600000,0.080973],[1448928000000,0.08131],[1449014400000,0.081391],[1449100800000,0.080632],[1449187200000,0.07924],[1449273600000,0.082343],[1449360000000,0.082343],[1449446400000,0.082343],[1449532800000,0.081282],[1449619200000,0.079223],[1449705600000,0.079598],[1449792000000,0.080768],[1449878400000,0.082507],[1449964800000,0.082507],[1450051200000,0.082507],[1450137600000,0.082468],[1450224000000,0.081431],[1450310400000,0.081267],[1450396800000,0.080589],[1450483200000,0.081193],[1450569600000,0.081193],[1450656000000,0.081193],[1450742400000,0.081376],[1450828800000,0.080742],[1450915200000,0.079733],[1451001600000,0.079577],[1451088000000,0.080177],[1451174400000,0.080177],[1451260800000,0.080177],[1451347200000,0.08308],[1451433600000,0.082911]], 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: [[1421280000000, 0.058671],[1421280000000, 0.058671],[1423958400000, 0.089864],[1426377600000, 0.083757],[1429056000000, 0.081258],[1431648000000, 0.076572],[1434326400000, 0.076404],[1436918400000, 0.076850],[1439596800000, 0.077059],[1442275200000, 0.077832],[1444867200000, 0.078858],[1447545600000, 0.080423],[1450137600000, 0.081259]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });