$(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: 'Курс RUB, грн'}, 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: 'Курс RUB', data: [[1326758400000,0.25329],[1326844800000,null],[1326931200000,null],[1327017600000,0.25382],[1327104000000,0.25536],[1327190400000,0.25536],[1327276800000,0.25536],[1327363200000,0.255],[1327449600000,0.25878],[1327536000000,0.26053],[1327622400000,0.26317],[1327708800000,0.26314],[1327795200000,0.26314],[1327881600000,0.26314],[1327968000000,0.26312],[1328054400000,0.26357],[1328140800000,0.26276],[1328227200000,0.26469],[1328313600000,0.26422],[1328400000000,0.26422],[1328486400000,0.26422],[1328572800000,0.26428],[1328659200000,0.26555],[1328745600000,0.26908],[1328832000000,0.26921],[1328918400000,0.26729],[1329004800000,0.26729],[1329091200000,0.26729],[1329177600000,0.26726],[1329264000000,0.2655],[1329350400000,0.26677],[1329436800000,0.2644],[1329523200000,0.26629],[1329609600000,0.26629],[1329696000000,0.26629],[1329782400000,0.26821],[1329868800000,0.26822],[1329955200000,0.2683],[1330041600000,0.2683],[1330128000000,0.27121],[1330214400000,0.27121],[1330300800000,0.27121],[1330387200000,0.27421],[1330473600000,0.27588],[1330560000000,0.27516],[1330646400000,0.27269],[1330732800000,0.27267],[1330819200000,0.27267],[1330905600000,0.27267],[1330992000000,0.27273],[1331078400000,0.27123],[1331164800000,0.26928],[1331251200000,0.26928],[1331337600000,0.26928],[1331424000000,0.26928],[1331510400000,0.26928],[1331596800000,0.26919],[1331683200000,0.27059],[1331769600000,0.27053],[1331856000000,0.26989],[1331942400000,0.27199],[1332028800000,0.27199],[1332115200000,0.27199],[1332201600000,0.27325],[1332288000000,0.27379],[1332374400000,0.27338],[1332460800000,0.27306],[1332547200000,0.27159],[1332633600000,0.27159],[1332720000000,0.27159],[1332806400000,0.2732],[1332892800000,0.27588],[1332979200000,0.27457],[1333065600000,0.27272],[1333152000000,0.27236],[1333238400000,0.27236],[1333324800000,0.27236],[1333411200000,0.27218],[1333497600000,0.27268],[1333584000000,0.27143],[1333670400000,0.2714],[1333756800000,0.27112],[1333843200000,null],[1333929600000,0.27112],[1334016000000,0.26944],[1334102400000,0.26944],[1334188800000,0.26792],[1334275200000,0.27005],[1334361600000,0.27094],[1334448000000,0.27094],[1334534400000,0.27094],[1334620800000,0.27094],[1334707200000,0.26943],[1334793600000,0.2707],[1334880000000,0.27059],[1334966400000,0.27051],[1335052800000,0.27051],[1335139200000,0.27051],[1335225600000,0.27088],[1335312000000,0.27118],[1335398400000,0.27265],[1335484800000,0.27283],[1335571200000,0.27155],[1335657600000,0.27211],[1335744000000,0.27211],[1335830400000,0.27211],[1335916800000,0.27211],[1336003200000,0.27211],[1336089600000,0.27118],[1336176000000,0.26999],[1336262400000,0.26999],[1336348800000,0.26999],[1336435200000,0.26801],[1336521600000,0.26802],[1336608000000,0.26802],[1336694400000,0.26467],[1336780800000,0.2643],[1336867200000,0.2643],[1336953600000,0.2643],[1337040000000,0.264],[1337126400000,0.26344],[1337212800000,0.25794],[1337299200000,0.25826],[1337385600000,0.25457],[1337472000000,0.25457],[1337558400000,0.25457],[1337644800000,0.25648],[1337731200000,0.25729],[1337817600000,0.2547],[1337904000000,0.25273],[1337990400000,0.25168],[1338076800000,0.25168],[1338163200000,0.25168],[1338249600000,0.25112],[1338336000000,0.2491],[1338422400000,0.2463],[1338508800000,0.24281],[1338595200000,0.2369],[1338681600000,0.2369],[1338768000000,0.2369],[1338854400000,0.2369],[1338940800000,0.24074],[1339027200000,0.24376],[1339113600000,0.24827],[1339200000000,0.24415],[1339286400000,0.24415],[1339372800000,0.24415],[1339459200000,0.24527],[1339545600000,0.24527],[1339632000000,0.24074],[1339718400000,0.24534],[1339804800000,0.24672],[1339891200000,0.24672],[1339977600000,0.24672],[1340064000000,0.24874],[1340150400000,0.24568],[1340236800000,0.2458],[1340323200000,0.24289],[1340409600000,0.23845],[1340496000000,0.23845],[1340582400000,0.23845],[1340668800000,0.24096],[1340755200000,0.24093],[1340841600000,0.24339],[1340928000000,0.24339],[1341014400000,0.24339],[1341100800000,0.24339],[1341187200000,0.24339],[1341273600000,0.24571],[1341360000000,0.24608],[1341446400000,0.24816],[1341532800000,0.24613],[1341619200000,0.24499],[1341705600000,0.245],[1341792000000,0.245],[1341878400000,0.24228],[1341964800000,0.24239],[1342051200000,0.24348],[1342137600000,0.2443],[1342224000000,0.24474],[1342310400000,0.24474],[1342396800000,0.24474],[1342483200000,0.24503],[1342569600000,0.24597],[1342656000000,0.24667],[1342742400000,0.24919],[1342828800000,0.25017],[1342915200000,0.25017],[1343001600000,0.25017],[1343088000000,0.24688],[1343174400000,0.24494],[1343260800000,0.24246],[1343347200000,0.24502],[1343433600000,0.24813],[1343520000000,0.24813],[1343606400000,0.24813],[1343692800000,0.24832],[1343779200000,0.24819],[1343865600000,0.24721],[1343952000000,0.24627],[1344038400000,0.24567],[1344124800000,0.24567],[1344211200000,0.24567],[1344297600000,0.25021],[1344384000000,0.25243],[1344470400000,0.25222],[1344556800000,0.2539],[1344643200000,0.25058],[1344729600000,0.25058],[1344816000000,0.25058],[1344902400000,0.25079],[1344988800000,0.25156],[1345075200000,0.25093],[1345161600000,0.25056],[1345248000000,0.25098],[1345334400000,0.25098],[1345420800000,0.25098],[1345507200000,0.24965],[1345593600000,0.25009],[1345680000000,0.25131],[1345766400000,0.25228],[1345852800000,0.25228],[1345939200000,0.25228],[1346025600000,0.25228],[1346112000000,0.2508],[1346198400000,0.24964],[1346284800000,0.24905],[1346371200000,0.24751],[1346457600000,0.24543],[1346544000000,0.24543],[1346630400000,0.24543],[1346716800000,0.24657],[1346803200000,0.24823],[1346889600000,0.24624],[1346976000000,0.24823],[1347062400000,0.24967],[1347148800000,0.24967],[1347235200000,0.24967],[1347321600000,0.25197],[1347408000000,0.25154],[1347494400000,0.25392],[1347580800000,0.25456],[1347667200000,0.25936],[1347753600000,0.25936],[1347840000000,0.25936],[1347926400000,0.26132],[1348012800000,0.25884],[1348099200000,0.25898],[1348185600000,0.25314],[1348272000000,0.25646],[1348358400000,0.25646],[1348444800000,0.25646],[1348531200000,0.25577],[1348617600000,0.25651],[1348704000000,0.256],[1348790400000,0.25623],[1348876800000,0.25853],[1348963200000,0.25853],[1349049600000,0.25853],[1349136000000,0.25574],[1349222400000,0.25672],[1349308800000,0.25623],[1349395200000,0.25684],[1349481600000,0.25805],[1349568000000,0.25805],[1349654400000,0.25805],[1349740800000,0.25719],[1349827200000,0.25701],[1349913600000,0.25617],[1350000000000,0.25646],[1350086400000,0.25806],[1350172800000,0.25806],[1350259200000,0.25806],[1350345600000,0.25718],[1350432000000,0.25826],[1350518400000,0.25954],[1350604800000,0.26019],[1350691200000,0.25966],[1350777600000,0.25966],[1350864000000,0.25966],[1350950400000,0.2586],[1351036800000,0.25687],[1351123200000,0.25534],[1351209600000,0.25578],[1351296000000,0.25392],[1351382400000,0.25392],[1351468800000,0.25392],[1351555200000,0.25425],[1351641600000,0.25354],[1351728000000,0.25476],[1351814400000,0.25483],[1351900800000,0.2547],[1351987200000,0.2547],[1352073600000,0.2547],[1352160000000,0.2547],[1352246400000,0.25359],[1352332800000,0.25534],[1352419200000,0.25363],[1352505600000,0.25378],[1352592000000,0.25378],[1352678400000,0.25378],[1352764800000,0.2529],[1352851200000,0.25201],[1352937600000,0.25193],[1353024000000,0.25221],[1353110400000,0.252],[1353196800000,0.252],[1353283200000,0.252],[1353369600000,0.2524],[1353456000000,0.25434],[1353542400000,0.25438],[1353628800000,0.25658],[1353715200000,0.25674],[1353801600000,0.25674],[1353888000000,0.25674],[1353974400000,0.25767],[1354060800000,0.25833],[1354147200000,0.25667],[1354233600000,0.25737],[1354320000000,0.25942],[1354406400000,0.25942],[1354492800000,0.25942],[1354579200000,0.25921],[1354665600000,0.25789],[1354752000000,0.25932],[1354838400000,0.25858],[1354924800000,0.25811],[1355011200000,0.25811],[1355097600000,0.25811],[1355184000000,0.25894],[1355270400000,0.25993],[1355356800000,0.26009],[1355443200000,0.26118],[1355529600000,0.26045],[1355616000000,0.26045],[1355702400000,0.26045],[1355788800000,0.25977],[1355875200000,0.25796],[1355961600000,0.25985],[1356048000000,0.25986],[1356134400000,0.26019],[1356220800000,0.26019],[1356307200000,0.26019],[1356393600000,0.25947],[1356480000000,0.26127],[1356566400000,0.26108],[1356652800000,0.26223],[1356739200000,0.26316],[1356825600000,0.26316]], 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, 0.258708],[1326585600000, 0.258708],[1329264000000, 0.267352],[1331769600000, 0.271915],[1334448000000, 0.271063],[1337040000000, 0.260942],[1339718400000, 0.242764],[1342310400000, 0.245932],[1344988800000, 0.250101],[1347667200000, 0.253596],[1350259200000, 0.257081],[1352937600000, 0.254510],[1355529600000, 0.260020]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });