$(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: [[1451606400000,17.4937],[1451692800000,17.4937],[1451779200000,17.4937],[1451865600000,17.4937],[1451952000000,17.4937],[1452038400000,17.0591],[1452124800000,16.6238],[1452211200000,16.6238],[1452297600000,16.6238],[1452384000000,16.6238],[1452470400000,16.6238],[1452556800000,16.4937],[1452643200000,16.3078],[1452729600000,16.5906],[1452816000000,16.6229],[1452902400000,16.6078],[1452988800000,16.7421],[1453075200000,16.7421],[1453161600000,16.9733],[1453248000000,17.2276],[1453334400000,16.8998],[1453420800000,16.9543],[1453507200000,17.4222],[1453593600000,17.4222],[1453680000000,17.4222],[1453766400000,17.3293],[1453852800000,17.3176],[1453939200000,17.5144],[1454025600000,17.7852],[1454112000000,18.135],[1454198400000,18.135],[1454284800000,18.135],[1454371200000,18.0126],[1454457600000,18.2555],[1454544000000,18.1452],[1454630400000,18.6642],[1454716800000,18.6278],[1454803200000,18.6278],[1454889600000,18.6278],[1454976000000,18.2669],[1455062400000,18.1255],[1455148800000,18.4263],[1455235200000,18.4774],[1455321600000,18.5405],[1455408000000,18.5405],[1455494400000,18.5405],[1455580800000,19.1901],[1455667200000,19.3337],[1455753600000,19.0412],[1455840000000,18.928],[1455926400000,19.0959],[1456012800000,19.0959],[1456099200000,19.0959],[1456185600000,19.4401],[1456272000000,19.7097],[1456358400000,19.5109],[1456444800000,19.6489],[1456531200000,19.4933],[1456617600000,19.4933],[1456704000000,19.4933],[1456790400000,19.3321],[1456876800000,19.3782],[1456963200000,19.3909],[1457049600000,19.2401],[1457136000000,19.5621],[1457222400000,19.5621],[1457308800000,19.5621],[1457395200000,19.5621],[1457481600000,19.5621],[1457568000000,19.6112],[1457654400000,19.0788],[1457740800000,19.411],[1457827200000,19.5423],[1457913600000,19.5423],[1458000000000,19.9829],[1458086400000,20.076],[1458172800000,19.9188],[1458259200000,20.3671],[1458345600000,19.9942],[1458432000000,19.9942],[1458518400000,19.9942],[1458604800000,20.2319],[1458691200000,19.8401],[1458777600000,19.6627],[1458864000000,19.7077],[1458950400000,19.5712],[1459036800000,19.5712],[1459123200000,19.5712],[1459209600000,19.7287],[1459296000000,19.8618],[1459382400000,20.1065],[1459468800000,20.159],[1459555200000,20.0532],[1459641600000,20.0532],[1459728000000,20.0532],[1459814400000,19.831],[1459900800000,19.65],[1459987200000,19.5794],[1460073600000,19.4279],[1460160000000,19.2984],[1460246400000,null],[1460332800000,null],[1460419200000,19.3393],[1460505600000,19.5675],[1460592000000,19.4957],[1460678400000,19.7527],[1460764800000,19.6245],[1460851200000,19.6245],[1460937600000,19.6245],[1461024000000,19.6208],[1461110400000,19.8395],[1461196800000,19.8651],[1461283200000,19.8757],[1461369600000,19.5913],[1461456000000,19.5913],[1461542400000,19.5913],[1461628800000,19.5666],[1461715200000,19.5604],[1461801600000,19.1472],[1461888000000,19.1915],[1461974400000,19.2244],[1462060800000,19.2244],[1462147200000,19.2244],[1462233600000,19.2244],[1462320000000,19.2244],[1462406400000,18.8485],[1462492800000,18.825],[1462579200000,18.5494],[1462665600000,18.5494],[1462752000000,18.5494],[1462838400000,18.5494],[1462924800000,18.5074],[1463011200000,18.6726],[1463097600000,18.5502],[1463184000000,18.5398],[1463270400000,18.5398],[1463356800000,18.5398],[1463443200000,18.5218],[1463529600000,18.5058],[1463616000000,18.3543],[1463702400000,18.1733],[1463788800000,18.2187],[1463875200000,null],[1463961600000,18.2187],[1464048000000,18.1291],[1464134400000,17.9966],[1464220800000,18.0875],[1464307200000,18.1071],[1464393600000,18.1308],[1464480000000,18.1308],[1464566400000,18.1308],[1464652800000,18.0808],[1464739200000,18.25],[1464825600000,18.246],[1464912000000,18.0635],[1464998400000,18.1122],[1465084800000,18.1122],[1465171200000,18.1122],[1465257600000,18.3928],[1465344000000,18.5626],[1465430400000,18.6377],[1465516800000,18.5967],[1465603200000,18.5134],[1465689600000,18.5134],[1465776000000,18.5134],[1465862400000,18.4756],[1465948800000,18.3066],[1466035200000,null],[1466121600000,18.2937],[1466208000000,18.4012],[1466294400000,18.4012],[1466380800000,18.4012],[1466467200000,18.4012],[1466553600000,18.6847],[1466640000000,18.6872],[1466726400000,18.8175],[1466812800000,18.4607],[1466899200000,18.4607],[1466985600000,18.4607],[1467072000000,18.4607],[1467158400000,18.4607],[1467244800000,18.4854],[1467331200000,18.4637],[1467417600000,18.5694],[1467504000000,18.5694],[1467590400000,18.5694],[1467676800000,18.6857],[1467763200000,18.5836],[1467849600000,18.5644],[1467936000000,18.657],[1468022400000,18.6643],[1468108800000,18.6643],[1468195200000,18.6643],[1468281600000,18.7857],[1468368000000,18.9612],[1468454400000,18.931],[1468540800000,18.9657],[1468627200000,18.9885],[1468713600000,18.9885],[1468800000000,18.9885],[1468886400000,18.8734],[1468972800000,18.5935],[1469059200000,18.5733],[1469145600000,18.5826],[1469232000000,18.5694],[1469318400000,18.5694],[1469404800000,18.5694],[1469491200000,18.5612],[1469577600000,18.67],[1469664000000,18.5352],[1469750400000,null],[1469836800000,18.6494],[1469923200000,18.6494],[1470009600000,18.6494],[1470096000000,18.7569],[1470182400000,18.8792],[1470268800000,18.8433],[1470355200000,18.9177],[1470441600000,18.9972],[1470528000000,18.9972],[1470614400000,18.9972],[1470700800000,18.9515],[1470787200000,19.0097],[1470873600000,19.2075],[1470960000000,19.1671],[1471046400000,19.2255],[1471132800000,19.2255],[1471219200000,19.2255],[1471305600000,19.2624],[1471392000000,19.384],[1471478400000,19.1407],[1471564800000,19.2984],[1471651200000,19.2325],[1471737600000,19.2325],[1471824000000,19.2325],[1471910400000,19.2476],[1471996800000,19.3577],[1472083200000,19.3577],[1472169600000,19.27],[1472256000000,19.4465],[1472342400000,19.4465],[1472428800000,19.4465],[1472515200000,19.2501],[1472601600000,19.3741],[1472688000000,19.6094],[1472774400000,20.0433],[1472860800000,20.1285],[1472947200000,20.1285],[1473033600000,20.1285],[1473120000000,20.3345],[1473206400000,20.4856],[1473292800000,20.5166],[1473379200000,20.5646],[1473465600000,20.2597],[1473552000000,20.2597],[1473638400000,20.2597],[1473724800000,20.0239],[1473811200000,19.8964],[1473897600000,19.6625],[1473984000000,19.6136],[1474070400000,19.4505],[1474156800000,19.4505],[1474243200000,19.4505],[1474329600000,19.449],[1474416000000,19.4848],[1474502400000,19.7489],[1474588800000,19.8529],[1474675200000,19.8474],[1474761600000,19.8474],[1474848000000,19.8474],[1474934400000,19.7751],[1475020800000,19.7672],[1475107200000,19.8599],[1475193600000,19.8578],[1475280000000,19.7504],[1475366400000,19.7504],[1475452800000,19.7504],[1475539200000,19.8964],[1475625600000,19.821],[1475712000000,19.7219],[1475798400000,19.6157],[1475884800000,19.5881],[1475971200000,19.5881],[1476057600000,19.5881],[1476144000000,19.6209],[1476230400000,19.5116],[1476316800000,19.5422],[1476403200000,19.4932],[1476489600000,19.4932],[1476576000000,19.4932],[1476662400000,19.4932],[1476748800000,19.6357],[1476835200000,19.6842],[1476921600000,19.7291],[1477008000000,19.7167],[1477094400000,19.5798],[1477180800000,19.5798],[1477267200000,19.5798],[1477353600000,19.5526],[1477440000000,19.5567],[1477526400000,19.6538],[1477612800000,19.4572],[1477699200000,19.3058],[1477785600000,19.3058],[1477872000000,19.3058],[1477958400000,19.3993],[1478044800000,null],[1478131200000,19.5852],[1478217600000,19.619],[1478304000000,19.6507],[1478390400000,19.6507],[1478476800000,19.6507],[1478563200000,19.6473],[1478649600000,19.6879],[1478736000000,19.6529],[1478822400000,19.4402],[1478908800000,19.4918],[1478995200000,19.4918],[1479081600000,19.4918],[1479168000000,19.4397],[1479254400000,19.6641],[1479340800000,19.6715],[1479427200000,19.4453],[1479513600000,19.1459],[1479600000000,19.1459],[1479686400000,19.1459],[1479772800000,19.0036],[1479859200000,18.9814],[1479945600000,18.9786],[1480032000000,18.9087],[1480118400000,19.1478],[1480204800000,19.1478],[1480291200000,19.1478],[1480377600000,19.1407],[1480464000000,19.0527],[1480550400000,19.02],[1480636800000,18.9496],[1480723200000,19.2294],[1480809600000,19.2294],[1480896000000,19.2294],[1480982400000,19.4299],[1481068800000,19.4602],[1481155200000,19.3778],[1481241600000,19.2533],[1481328000000,19.324],[1481414400000,19.324],[1481500800000,19.324],[1481587200000,19.5646],[1481673600000,19.5701],[1481760000000,19.7514],[1481846400000,19.4205],[1481932800000,19.3046],[1482019200000,19.3046],[1482105600000,19.3046],[1482192000000,19.1694],[1482278400000,19.1578],[1482364800000,19.2038],[1482451200000,18.9724],[1482537600000,18.8372],[1482624000000,18.8372],[1482710400000,18.8372],[1482796800000,18.9081],[1482883200000,18.9081],[1482969600000,19.3014],[1483056000000,19.595]], 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: [[1452816000000, 17.106191],[1452816000000, 17.106191],[1455494400000, 18.847722],[1458000000000, 19.694114],[1460678400000, 19.635684],[1463270400000, 18.496807],[1465948800000, 18.423629],[1468540800000, 18.688677],[1471219200000, 19.162261],[1473897600000, 19.920135],[1476489600000, 19.592295],[1479168000000, 19.366435],[1481760000000, 19.248191]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });