$(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: 'Курс AZN, грн'}, 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: 'Курс AZN', data: [[1326758400000,10.16],[1326844800000,null],[1326931200000,null],[1327017600000,10.1626],[1327104000000,10.1626],[1327190400000,10.1626],[1327276800000,10.1626],[1327363200000,10.1626],[1327449600000,10.1626],[1327536000000,10.1613],[1327622400000,10.1613],[1327708800000,10.1624],[1327795200000,10.1624],[1327881600000,10.1624],[1327968000000,10.1611],[1328054400000,10.1598],[1328140800000,10.1611],[1328227200000,10.1611],[1328313600000,10.1611],[1328400000000,10.1611],[1328486400000,10.1611],[1328572800000,10.1611],[1328659200000,10.1611],[1328745600000,10.1614],[1328832000000,10.1614],[1328918400000,10.1614],[1329004800000,10.1614],[1329091200000,10.1614],[1329177600000,10.1586],[1329264000000,10.1617],[1329350400000,10.1617],[1329436800000,10.1609],[1329523200000,10.1594],[1329609600000,10.1594],[1329696000000,10.1594],[1329782400000,10.1583],[1329868800000,10.1595],[1329955200000,10.1565],[1330041600000,10.1564],[1330128000000,10.1574],[1330214400000,10.1574],[1330300800000,10.1574],[1330387200000,10.1573],[1330473600000,10.1586],[1330560000000,10.1599],[1330646400000,10.1612],[1330732800000,10.1616],[1330819200000,10.1616],[1330905600000,10.1616],[1330992000000,10.1616],[1331078400000,10.1616],[1331164800000,10.1583],[1331251200000,10.1583],[1331337600000,10.1583],[1331424000000,10.1583],[1331510400000,10.1583],[1331596800000,10.1564],[1331683200000,10.1552],[1331769600000,10.1526],[1331856000000,10.1526],[1331942400000,10.1552],[1332028800000,10.1552],[1332115200000,10.1552],[1332201600000,10.1552],[1332288000000,10.1552],[1332374400000,10.1552],[1332460800000,10.156],[1332547200000,10.156],[1332633600000,10.156],[1332720000000,10.156],[1332806400000,10.1564],[1332892800000,10.156],[1332979200000,10.1573],[1333065600000,10.1586],[1333152000000,10.1601],[1333238400000,10.1601],[1333324800000,10.1601],[1333411200000,10.1588],[1333497600000,10.1588],[1333584000000,10.1614],[1333670400000,10.1609],[1333756800000,10.1596],[1333843200000,null],[1333929600000,10.1596],[1334016000000,10.1564],[1334102400000,10.1564],[1334188800000,10.159],[1334275200000,10.159],[1334361600000,10.159],[1334448000000,10.159],[1334534400000,10.159],[1334620800000,10.159],[1334707200000,10.159],[1334793600000,10.159],[1334880000000,10.1586],[1334966400000,10.1599],[1335052800000,10.1599],[1335139200000,10.1599],[1335225600000,10.1625],[1335312000000,10.1612],[1335398400000,10.1612],[1335484800000,10.1612],[1335571200000,10.1627],[1335657600000,10.1627],[1335744000000,10.1627],[1335830400000,10.1627],[1335916800000,10.1627],[1336003200000,10.1627],[1336089600000,10.1653],[1336176000000,10.1653],[1336262400000,10.1653],[1336348800000,10.1653],[1336435200000,10.1637],[1336521600000,10.164],[1336608000000,10.164],[1336694400000,10.1654],[1336780800000,10.1667],[1336867200000,10.1667],[1336953600000,10.1667],[1337040000000,10.1667],[1337126400000,10.1667],[1337212800000,10.1667],[1337299200000,10.1693],[1337385600000,10.1699],[1337472000000,10.1699],[1337558400000,10.1699],[1337644800000,10.1699],[1337731200000,10.1712],[1337817600000,10.1686],[1337904000000,10.1686],[1337990400000,10.1699],[1338076800000,10.1699],[1338163200000,10.1699],[1338249600000,10.1699],[1338336000000,10.1712],[1338422400000,10.1712],[1338508800000,10.1725],[1338595200000,10.1725],[1338681600000,10.1725],[1338768000000,10.1725],[1338854400000,10.1725],[1338940800000,10.1725],[1339027200000,10.1712],[1339113600000,10.1712],[1339200000000,10.1712],[1339286400000,10.1712],[1339372800000,10.1712],[1339459200000,10.1712],[1339545600000,10.1712],[1339632000000,10.1725],[1339718400000,10.1712],[1339804800000,10.1712],[1339891200000,10.1712],[1339977600000,10.1712],[1340064000000,10.1712],[1340150400000,10.1712],[1340236800000,10.1725],[1340323200000,10.1725],[1340409600000,10.1725],[1340496000000,10.1725],[1340582400000,10.1725],[1340668800000,10.1725],[1340755200000,10.1725],[1340841600000,10.1725],[1340928000000,10.1725],[1341014400000,10.1725],[1341100800000,10.1725],[1341187200000,10.1725],[1341273600000,10.1738],[1341360000000,10.1738],[1341446400000,10.1738],[1341532800000,10.1738],[1341619200000,10.1738],[1341705600000,10.1744],[1341792000000,10.1744],[1341878400000,10.1744],[1341964800000,10.1744],[1342051200000,10.1757],[1342137600000,10.1757],[1342224000000,10.1757],[1342310400000,10.1757],[1342396800000,10.1757],[1342483200000,10.1757],[1342569600000,10.1731],[1342656000000,10.1731],[1342742400000,10.1718],[1342828800000,10.1731],[1342915200000,10.1731],[1343001600000,10.1731],[1343088000000,10.1731],[1343174400000,10.1744],[1343260800000,10.1744],[1343347200000,10.1744],[1343433600000,10.1744],[1343520000000,10.1744],[1343606400000,10.1744],[1343692800000,10.1744],[1343779200000,10.1757],[1343865600000,10.1757],[1343952000000,10.1757],[1344038400000,10.1757],[1344124800000,10.1757],[1344211200000,10.1757],[1344297600000,10.1757],[1344384000000,10.1744],[1344470400000,10.1744],[1344556800000,10.177],[1344643200000,10.177],[1344729600000,10.177],[1344816000000,10.177],[1344902400000,10.1757],[1344988800000,10.1757],[1345075200000,10.1757],[1345161600000,10.1757],[1345248000000,10.177],[1345334400000,10.177],[1345420800000,10.177],[1345507200000,10.177],[1345593600000,10.177],[1345680000000,10.177],[1345766400000,10.177],[1345852800000,10.177],[1345939200000,10.177],[1346025600000,10.177],[1346112000000,10.177],[1346198400000,10.177],[1346284800000,10.177],[1346371200000,10.1783],[1346457600000,10.1783],[1346544000000,10.1783],[1346630400000,10.1783],[1346716800000,10.1783],[1346803200000,10.1783],[1346889600000,10.1783],[1346976000000,10.1783],[1347062400000,10.1796],[1347148800000,10.1796],[1347235200000,10.1796],[1347321600000,10.1796],[1347408000000,10.1796],[1347494400000,10.1796],[1347580800000,10.1796],[1347667200000,10.1783],[1347753600000,10.1783],[1347840000000,10.1783],[1347926400000,10.1783],[1348012800000,10.1783],[1348099200000,10.1783],[1348185600000,10.1783],[1348272000000,10.1783],[1348358400000,10.1783],[1348444800000,10.1783],[1348531200000,10.1783],[1348617600000,10.1783],[1348704000000,10.1783],[1348790400000,10.1783],[1348876800000,10.1796],[1348963200000,10.1796],[1349049600000,10.1796],[1349136000000,10.1796],[1349222400000,10.1796],[1349308800000,10.1796],[1349395200000,10.1796],[1349481600000,10.1809],[1349568000000,10.1809],[1349654400000,10.1809],[1349740800000,10.1809],[1349827200000,10.1809],[1349913600000,10.1809],[1350000000000,10.1809],[1350086400000,10.1822],[1350172800000,10.1822],[1350259200000,10.1822],[1350345600000,10.1822],[1350432000000,10.1796],[1350518400000,10.1796],[1350604800000,10.1796],[1350691200000,10.1809],[1350777600000,10.1809],[1350864000000,10.1809],[1350950400000,10.1822],[1351036800000,10.1822],[1351123200000,10.1822],[1351209600000,10.1822],[1351296000000,10.1822],[1351382400000,10.1822],[1351468800000,10.1822],[1351555200000,10.1822],[1351641600000,10.1822],[1351728000000,10.1835],[1351814400000,10.1835],[1351900800000,10.1835],[1351987200000,10.1835],[1352073600000,10.1835],[1352160000000,10.1835],[1352246400000,10.1835],[1352332800000,10.1835],[1352419200000,10.1822],[1352505600000,10.1822],[1352592000000,10.1822],[1352678400000,10.1822],[1352764800000,10.1822],[1352851200000,10.1822],[1352937600000,10.1848],[1353024000000,10.1848],[1353110400000,10.1848],[1353196800000,10.1848],[1353283200000,10.1848],[1353369600000,10.1848],[1353456000000,10.1848],[1353542400000,10.1848],[1353628800000,10.1835],[1353715200000,10.1835],[1353801600000,10.1835],[1353888000000,10.1835],[1353974400000,10.1835],[1354060800000,10.1835],[1354147200000,10.1848],[1354233600000,10.1861],[1354320000000,10.1861],[1354406400000,10.1861],[1354492800000,10.1861],[1354579200000,10.1861],[1354665600000,10.1887],[1354752000000,10.1848],[1354838400000,10.1848],[1354924800000,10.1861],[1355011200000,10.1861],[1355097600000,10.1861],[1355184000000,10.1861],[1355270400000,10.1835],[1355356800000,10.1835],[1355443200000,10.1835],[1355529600000,10.1835],[1355616000000,10.1835],[1355702400000,10.1835],[1355788800000,10.1835],[1355875200000,10.1835],[1355961600000,10.1835],[1356048000000,10.1835],[1356134400000,10.1848],[1356220800000,10.1848],[1356307200000,10.1848],[1356393600000,10.1848],[1356480000000,10.1848],[1356566400000,10.1848],[1356652800000,10.1822],[1356739200000,10.1822],[1356825600000,10.1822]], 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: [[1326585600000, 10.162018],[1326585600000, 10.162018],[1329264000000, 10.159818],[1331769600000, 10.157453],[1334448000000, 10.159903],[1337040000000, 10.167268],[1339718400000, 10.171897],[1342310400000, 10.174078],[1344988800000, 10.176395],[1347667200000, 10.178665],[1350259200000, 10.181078],[1352937600000, 10.183679],[1355529600000, 10.184468]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });