$(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: 'Курс UZS, грн'}, 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: 'Курс UZS', data: [[1451606400000,0.008541],[1451692800000,0.008541],[1451779200000,0.008541],[1451865600000,0.008541],[1451952000000,0.008541],[1452038400000,0.008445],[1452124800000,0.008345],[1452211200000,0.008345],[1452297600000,0.008345],[1452384000000,0.008345],[1452470400000,0.008345],[1452556800000,0.008331],[1452643200000,0.008246],[1452729600000,0.008379],[1452816000000,0.008489],[1452902400000,0.008573],[1452988800000,0.008642],[1453075200000,0.008642],[1453161600000,0.008717],[1453248000000,0.00879],[1453334400000,0.008725],[1453420800000,0.008676],[1453507200000,0.008771],[1453593600000,0.008771],[1453680000000,0.008771],[1453766400000,0.008769],[1453852800000,0.008776],[1453939200000,0.008784],[1454025600000,0.008883],[1454112000000,0.009025],[1454198400000,0.009025],[1454284800000,0.009025],[1454371200000,0.008971],[1454457600000,0.00912],[1454544000000,0.009059],[1454630400000,0.009127],[1454716800000,0.009134],[1454803200000,0.009134],[1454889600000,0.009134],[1454976000000,0.009107],[1455062400000,0.00913],[1455148800000,0.009129],[1455235200000,0.009179],[1455321600000,0.009202],[1455408000000,0.009202],[1455494400000,0.009202],[1455580800000,0.009421],[1455667200000,0.009492],[1455753600000,0.009388],[1455840000000,0.009296],[1455926400000,0.009434],[1456012800000,0.009434],[1456099200000,0.009434],[1456185600000,0.009473],[1456272000000,0.00955],[1456358400000,0.009545],[1456444800000,0.009555],[1456531200000,0.009487],[1456617600000,0.009487],[1456704000000,0.009487],[1456790400000,0.009485],[1456876800000,0.009481],[1456963200000,0.009385],[1457049600000,0.009176],[1457136000000,0.009276],[1457222400000,0.009276],[1457308800000,0.009276],[1457395200000,0.009276],[1457481600000,0.009276],[1457568000000,0.009149],[1457654400000,0.008918],[1457740800000,0.009031],[1457827200000,0.009093],[1457913600000,0.009093],[1458000000000,0.00925],[1458086400000,0.009378],[1458172800000,0.009364],[1458259200000,0.009314],[1458345600000,0.009154],[1458432000000,0.009154],[1458518400000,0.009154],[1458604800000,0.009279],[1458691200000,0.009089],[1458777600000,0.009059],[1458864000000,0.009141],[1458950400000,0.009078],[1459036800000,0.009078],[1459123200000,0.009078],[1459209600000,0.009135],[1459296000000,0.009191],[1459382400000,0.009114],[1459468800000,0.009114],[1459555200000,0.009076],[1459641600000,0.009076],[1459728000000,0.009076],[1459814400000,0.009018],[1459900800000,0.009046],[1459987200000,0.009005],[1460073600000,0.00895],[1460160000000,0.008891],[1460246400000,null],[1460332800000,null],[1460419200000,0.008853],[1460505600000,0.008847],[1460592000000,0.008823],[1460678400000,0.00888],[1460764800000,0.00882],[1460851200000,0.00882],[1460937600000,0.00882],[1461024000000,0.008806],[1461110400000,0.008792],[1461196800000,0.008781],[1461283200000,0.008768],[1461369600000,0.008758],[1461456000000,0.008758],[1461542400000,0.008758],[1461628800000,0.00874],[1461715200000,0.008727],[1461801600000,0.008697],[1461888000000,0.008687],[1461974400000,0.008692],[1462060800000,0.008692],[1462147200000,0.008692],[1462233600000,0.008692],[1462320000000,0.008692],[1462406400000,0.008674],[1462492800000,0.008649],[1462579200000,0.008663],[1462665600000,0.008663],[1462752000000,0.008663],[1462838400000,0.008663],[1462924800000,0.008661],[1463011200000,0.008705],[1463097600000,0.008701],[1463184000000,0.008749],[1463270400000,0.008749],[1463356800000,0.008749],[1463443200000,0.008714],[1463529600000,0.008673],[1463616000000,0.008667],[1463702400000,0.008668],[1463788800000,0.008648],[1463875200000,null],[1463961600000,0.008648],[1464048000000,0.008606],[1464134400000,0.008609],[1464220800000,0.008602],[1464307200000,0.008598],[1464393600000,0.00861],[1464480000000,0.00861],[1464566400000,0.00861],[1464652800000,0.008605],[1464739200000,0.008597],[1464825600000,0.008581],[1464912000000,0.008566],[1464998400000,0.008549],[1465084800000,0.008549],[1465171200000,0.008549],[1465257600000,0.00853],[1465344000000,0.008522],[1465430400000,0.008516],[1465516800000,0.008536],[1465603200000,0.00854],[1465689600000,0.00854],[1465776000000,0.00854],[1465862400000,0.00851],[1465948800000,0.008492],[1466035200000,null],[1466121600000,0.008488],[1466208000000,0.00849],[1466294400000,0.00849],[1466380800000,0.00849],[1466467200000,0.00849],[1466553600000,0.008471],[1466640000000,0.008472],[1466726400000,0.008467],[1466812800000,0.008464],[1466899200000,0.008464],[1466985600000,0.008464],[1467072000000,0.008464],[1467158400000,0.008464],[1467244800000,0.008444],[1467331200000,0.008435],[1467417600000,0.008433],[1467504000000,0.008433],[1467590400000,0.008433],[1467676800000,0.008416],[1467763200000,0.008426],[1467849600000,0.008425],[1467936000000,0.008416],[1468022400000,0.008423],[1468108800000,0.008423],[1468195200000,0.008423],[1468281600000,0.008413],[1468368000000,0.00841],[1468454400000,0.008403],[1468540800000,0.008395],[1468627200000,0.008398],[1468713600000,0.008398],[1468800000000,0.008398],[1468886400000,0.008401],[1468972800000,0.008386],[1469059200000,0.008385],[1469145600000,0.008387],[1469232000000,0.008386],[1469318400000,0.008386],[1469404800000,0.008386],[1469491200000,0.008363],[1469577600000,0.008362],[1469664000000,0.008372],[1469750400000,null],[1469836800000,0.008369],[1469923200000,0.008369],[1470009600000,0.008369],[1470096000000,0.008346],[1470182400000,0.00836],[1470268800000,0.008357],[1470355200000,0.008355],[1470441600000,0.008354],[1470528000000,0.008354],[1470614400000,0.008354],[1470700800000,0.008345],[1470787200000,0.008345],[1470873600000,0.008344],[1470960000000,0.008355],[1471046400000,0.00842],[1471132800000,0.00842],[1471219200000,0.00842],[1471305600000,0.00843],[1471392000000,0.008411],[1471478400000,0.008421],[1471564800000,0.008449],[1471651200000,0.008479],[1471737600000,0.008479],[1471824000000,0.008479],[1471910400000,0.008474],[1471996800000,0.008479],[1472083200000,0.008479],[1472169600000,0.008487],[1472256000000,0.008525],[1472342400000,0.008525],[1472428800000,0.008525],[1472515200000,0.008526],[1472601600000,0.00858],[1472688000000,0.008724],[1472774400000,0.008903],[1472860800000,0.008908],[1472947200000,0.008908],[1473033600000,0.008908],[1473120000000,0.008945],[1473206400000,0.008965],[1473292800000,0.008924],[1473379200000,0.008895],[1473465600000,0.008907],[1473552000000,0.008907],[1473638400000,0.008907],[1473724800000,0.008892],[1473811200000,0.008808],[1473897600000,0.008776],[1473984000000,0.008735],[1474070400000,0.008633],[1474156800000,0.008633],[1474243200000,0.008633],[1474329600000,0.008574],[1474416000000,0.008587],[1474502400000,0.008643],[1474588800000,0.008626],[1474675200000,0.008649],[1474761600000,0.008649],[1474848000000,0.008649],[1474934400000,0.008605],[1475020800000,0.008581],[1475107200000,0.008603],[1475193600000,0.008608],[1475280000000,0.008616],[1475366400000,0.008616],[1475452800000,0.008616],[1475539200000,0.008559],[1475625600000,0.00854],[1475712000000,0.008552],[1475798400000,0.008549],[1475884800000,0.008533],[1475971200000,0.008533],[1476057600000,0.008533],[1476144000000,0.008477],[1476230400000,0.008485],[1476316800000,0.00847],[1476403200000,0.008465],[1476489600000,0.008465],[1476576000000,0.008465],[1476662400000,0.008465],[1476748800000,0.008411],[1476835200000,0.008372],[1476921600000,0.008382],[1477008000000,0.008385],[1477094400000,0.008372],[1477180800000,0.008372],[1477267200000,0.008372],[1477353600000,0.008314],[1477440000000,0.008299],[1477526400000,0.008295],[1477612800000,0.008279],[1477699200000,0.008267],[1477785600000,0.008267],[1477872000000,0.008267]], 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, 0.008602],[1452816000000, 0.008602],[1455494400000, 0.009288],[1458000000000, 0.009200],[1460678400000, 0.008860],[1463270400000, 0.008664],[1465948800000, 0.008508],[1468540800000, 0.008402],[1471219200000, 0.008427],[1473897600000, 0.008756],[1476489600000, 0.008438]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });