$(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: [[1420070400000,12.8528],[1420156800000,12.8528],[1420243200000,12.8528],[1420329600000,12.8528],[1420416000000,12.8528],[1420502400000,12.8528],[1420588800000,12.7424],[1420675200000,12.7424],[1420761600000,null],[1420848000000,12.7663],[1420934400000,12.7663],[1421020800000,12.7663],[1421107200000,12.8325],[1421193600000,12.8379],[1421280000000,null],[1421366400000,12.8352],[1421452800000,13.078],[1421539200000,13.0359],[1421625600000,13.0359],[1421712000000,12.9795],[1421798400000,12.9501],[1421884800000,12.9414],[1421971200000,null],[1422057600000,12.8311],[1422144000000,12.8311],[1422230400000,12.8311],[1422316800000,12.4949],[1422403200000,12.5659],[1422489600000,12.6059],[1422576000000,12.715],[1422662400000,12.5783],[1422748800000,12.5783],[1422835200000,12.5783],[1422921600000,12.5588],[1423008000000,12.6483],[1423094400000,12.8595],[1423180800000,13.9944],[1423267200000,null],[1423353600000,18.0569],[1423440000000,18.0569],[1423526400000,19.6043],[1423612800000,19.4093],[1423699200000,19.8822],[1423785600000,19.4421],[1423872000000,19.8906],[1423958400000,19.8906],[1424044800000,19.8906],[1424131200000,20.1834],[1424217600000,20.499],[1424304000000,20.9634],[1424390400000,21.3122],[1424476800000,21.6802],[1424563200000,21.6802],[1424649600000,21.6802],[1424736000000,22.243],[1424822400000,22.0285],[1424908800000,21.7472],[1424995200000,23.6652],[1425081600000,21.8845],[1425168000000,21.8845],[1425254400000,21.8845],[1425340800000,21.0256],[1425427200000,19.3072],[1425513600000,18.5804],[1425600000000,18.1002],[1425686400000,17.8421],[1425772800000,17.8421],[1425859200000,17.8421],[1425945600000,17.8421],[1426032000000,16.8091],[1426118400000,16.4911],[1426204800000,16.4039],[1426291200000,16.659],[1426377600000,16.659],[1426464000000,16.659],[1426550400000,16.678],[1426636800000,17.0226],[1426723200000,17.8066],[1426809600000,17.8253],[1426896000000,17.7292],[1426982400000,17.7292],[1427068800000,17.7292],[1427155200000,17.8341],[1427241600000,18.232],[1427328000000,18.6339],[1427414400000,18.539],[1427500800000,18.4423],[1427587200000,18.4423],[1427673600000,18.4423],[1427760000000,18.2563],[1427846400000,17.8263],[1427932800000,17.8442],[1428019200000,17.7514],[1428105600000,17.5968],[1428192000000,17.5968],[1428278400000,17.5968],[1428364800000,17.7046],[1428451200000,17.9658],[1428537600000,18.1396],[1428624000000,18.0985],[1428710400000,17.4959],[1428796800000,17.4959],[1428883200000,17.4959],[1428969600000,17.4959],[1429056000000,17.3792],[1429142400000,16.5251],[1429228800000,16.6575],[1429315200000,16.4512],[1429401600000,16.4512],[1429488000000,16.4512],[1429574400000,17.2635],[1429660800000,17.2459],[1429747200000,17.5537],[1429833600000,17.4144],[1429920000000,17.5033],[1430006400000,17.5033],[1430092800000,17.5033],[1430179200000,17.8704],[1430265600000,17.6892],[1430352000000,16.8258],[1430438400000,16.7361],[1430524800000,16.7361],[1430611200000,16.7361],[1430697600000,16.7361],[1430784000000,16.7361],[1430870400000,16.6397],[1430956800000,16.8294],[1431043200000,16.514],[1431129600000,16.2921],[1431216000000,16.2921],[1431302400000,16.2921],[1431388800000,16.2921],[1431475200000,16.4851],[1431561600000,16.5525],[1431648000000,16.6736],[1431734400000,16.5598],[1431820800000,16.5598],[1431907200000,16.5598],[1431993600000,17.7052],[1432080000000,16.939],[1432166400000,16.446],[1432252800000,16.3136],[1432339200000,16.4247],[1432425600000,16.4247],[1432512000000,16.4247],[1432598400000,16.5446],[1432684800000,16.6956],[1432771200000,null],[1432857600000,16.075],[1432944000000,16.132],[1433030400000,16.132],[1433116800000,16.132],[1433203200000,16.132],[1433289600000,16.2035],[1433376000000,16.3313],[1433462400000,16.2684],[1433548800000,16.2287],[1433635200000,16.2287],[1433721600000,16.2287],[1433808000000,16.1167],[1433894400000,16.3038],[1433980800000,16.3742],[1434067200000,16.2513],[1434153600000,16.228],[1434240000000,16.228],[1434326400000,16.228],[1434412800000,16.633],[1434499200000,17.1514],[1434585600000,16.6186],[1434672000000,16.6944],[1434758400000,16.7541],[1434844800000,16.7541],[1434931200000,16.7541],[1435017600000,16.897],[1435104000000,16.5892],[1435190400000,16.4077],[1435276800000,16.4069],[1435363200000,16.0901],[1435449600000,16.0901],[1435536000000,16.0901],[1435622400000,16.0901],[1435708800000,16.1531],[1435795200000,16.1275],[1435881600000,15.9552],[1435968000000,15.8146],[1436054400000,15.8146],[1436140800000,15.8146],[1436227200000,15.9378],[1436313600000,16.1124],[1436400000000,16.2933],[1436486400000,16.3006],[1436572800000,16.3697],[1436659200000,16.3697],[1436745600000,16.3697],[1436832000000,16.3156],[1436918400000,16.363],[1437004800000,16.4969],[1437091200000,16.2393],[1437177600000,16.2942],[1437264000000,16.2942],[1437350400000,16.2942],[1437436800000,16.2615],[1437523200000,16.2286],[1437609600000,16.253],[1437696000000,16.313],[1437782400000,16.0355],[1437868800000,16.0355],[1437955200000,16.0355],[1438041600000,16.0355],[1438128000000,16.1036],[1438214400000,16.1229],[1438300800000,15.7157],[1438387200000,15.3036],[1438473600000,15.3036],[1438560000000,15.3036],[1438646400000,15.7805],[1438732800000,16.0656],[1438819200000,15.9066],[1438905600000,15.7488],[1438992000000,15.5814],[1439078400000,15.5814],[1439164800000,15.5814],[1439251200000,15.6572],[1439337600000,15.6548],[1439424000000,15.769],[1439510400000,15.7193],[1439596800000,16.0729],[1439683200000,16.0729],[1439769600000,16.0729],[1439856000000,16.1903],[1439942400000,16.2155],[1440028800000,16.2141],[1440115200000,16.1163],[1440201600000,16.2025],[1440288000000,16.2025],[1440374400000,16.2025],[1440460800000,null],[1440547200000,16.3334],[1440633600000,15.3039],[1440720000000,15.2338],[1440806400000,15.1192],[1440892800000,15.1192],[1440979200000,15.1192],[1441065600000,15.5239],[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,15.6295],[1442534400000,null],[1442620800000,15.7299],[1442707200000,15.7299],[1442793600000,15.7299],[1442880000000,15.6675],[1442966400000,15.414],[1443052800000,15.213],[1443139200000,14.9428],[1443225600000,15.1645],[1443312000000,15.1645],[1443398400000,15.1645],[1443484800000,15.1025],[1443571200000,15.0662],[1443657600000,14.968],[1443744000000,14.9536],[1443830400000,14.8712],[1443916800000,14.8712],[1444003200000,14.8712],[1444089600000,15.0368],[1444176000000,15.1237],[1444262400000,15.3747],[1444348800000,15.3027],[1444435200000,15.7554],[1444521600000,15.7554],[1444608000000,15.7554],[1444694400000,16.0823],[1444780800000,16.0066],[1444867200000,16.0066],[1444953600000,15.8928],[1445040000000,15.4556],[1445126400000,15.4556],[1445212800000,15.4556],[1445299200000,15.7237],[1445385600000,16.0185],[1445472000000,16.3434],[1445558400000,16.063],[1445644800000,16.4077],[1445731200000,16.4077],[1445817600000,16.4077],[1445904000000,16.6129],[1445990400000,16.5299],[1446076800000,16.3265],[1446163200000,16.2075],[1446249600000,16.2971],[1446336000000,16.2971],[1446422400000,16.2971],[1446508800000,16.4265],[1446595200000,16.5127],[1446681600000,16.594],[1446768000000,16.3788],[1446854400000,16.1838],[1446940800000,16.1838],[1447027200000,16.1838],[1447113600000,16.0655],[1447200000000,16.0509],[1447286400000,16.0616],[1447372800000,16.308],[1447459200000,16.4632],[1447545600000,16.4632],[1447632000000,16.4632],[1447718400000,16.4692],[1447804800000,16.9544],[1447891200000,16.9725],[1447977600000,17.0699],[1448064000000,17.2915],[1448150400000,17.2915],[1448236800000,17.2915],[1448323200000,17.2933],[1448409600000,17.2786],[1448496000000,17.2349],[1448582400000,17.0524],[1448668800000,17.2033],[1448755200000,17.2033],[1448841600000,17.2033],[1448928000000,17.2685],[1449014400000,17.3811],[1449100800000,17.32],[1449187200000,16.9334],[1449273600000,17.3043],[1449360000000,17.3043],[1449446400000,17.3043],[1449532800000,17.0704],[1449619200000,16.5031],[1449705600000,16.4994],[1449792000000,17.048],[1449878400000,17.2113],[1449964800000,17.2113],[1450051200000,17.2113],[1450137600000,17.1704],[1450224000000,16.9559],[1450310400000,16.9325],[1450396800000,16.8663],[1450483200000,16.7795],[1450569600000,16.7795],[1450656000000,16.7795],[1450742400000,16.8541],[1450828800000,16.7784],[1450915200000,16.6086],[1451001600000,16.6772],[1451088000000,16.8028],[1451174400000,16.8028],[1451260800000,16.8028],[1451347200000,17.2959],[1451433600000,17.3058]], 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, 12.817154],[1421280000000, 12.817154],[1423958400000, 18.922523],[1426377600000, 18.102399],[1429056000000, 17.413082],[1431648000000, 16.549327],[1434326400000, 16.383473],[1436918400000, 16.157112],[1439596800000, 15.758267],[1442275200000, 15.374470],[1444867200000, 15.752899],[1447545600000, 16.691427],[1450137600000, 17.008275]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });