$(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: 'Курс HUF, грн'}, 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: 'Курс HUF', data: [[1326758400000,0.032866],[1326844800000,null],[1326931200000,null],[1327017600000,0.034145],[1327104000000,0.033834],[1327190400000,0.033834],[1327276800000,0.033834],[1327363200000,0.034451],[1327449600000,0.034358],[1327536000000,0.034655],[1327622400000,0.035626],[1327708800000,0.035729],[1327795200000,0.035729],[1327881600000,0.035729],[1327968000000,0.035382],[1328054400000,0.035818],[1328140800000,0.035989],[1328227200000,0.035721],[1328313600000,0.036033],[1328400000000,0.036033],[1328486400000,0.036033],[1328572800000,0.035562],[1328659200000,0.035922],[1328745600000,0.036616],[1328832000000,0.036497],[1328918400000,0.035894],[1329004800000,0.035894],[1329091200000,0.035894],[1329177600000,0.03645],[1329264000000,0.036078],[1329350400000,0.036108],[1329436800000,0.035282],[1329523200000,0.03623],[1329609600000,0.03623],[1329696000000,0.03623],[1329782400000,0.036869],[1329868800000,0.036666],[1329955200000,0.036587],[1330041600000,0.036693],[1330128000000,0.037103],[1330214400000,0.037103],[1330300800000,0.037103],[1330387200000,0.036652],[1330473600000,0.0371],[1330560000000,0.037188],[1330646400000,0.036934],[1330732800000,0.036494],[1330819200000,0.036494],[1330905600000,0.036494],[1330992000000,0.036257],[1331078400000,0.035806],[1331164800000,0.035371],[1331251200000,0.035371],[1331337600000,0.035371],[1331424000000,0.035371],[1331510400000,0.035371],[1331596800000,0.035699],[1331683200000,0.035418],[1331769600000,0.03569],[1331856000000,0.035784],[1331942400000,0.036035],[1332028800000,0.036035],[1332115200000,0.036035],[1332201600000,0.036278],[1332288000000,0.036418],[1332374400000,0.036223],[1332460800000,0.035825],[1332547200000,0.03591],[1332633600000,0.03591],[1332720000000,0.03591],[1332806400000,0.036231],[1332892800000,0.036489],[1332979200000,0.036392],[1333065600000,0.03601],[1333152000000,0.036175],[1333238400000,0.036175],[1333324800000,0.036175],[1333411200000,0.036065],[1333497600000,0.036201],[1333584000000,0.03551],[1333670400000,0.03527],[1333756800000,0.03527],[1333843200000,null],[1333929600000,0.03527],[1334016000000,0.035259],[1334102400000,0.035407],[1334188800000,0.035167],[1334275200000,0.035374],[1334361600000,0.035343],[1334448000000,0.035343],[1334534400000,0.035343],[1334620800000,0.035343],[1334707200000,0.035264],[1334793600000,0.03522],[1334880000000,0.035158],[1334966400000,0.035514],[1335052800000,0.035514],[1335139200000,0.035514],[1335225600000,0.035111],[1335312000000,0.035314],[1335398400000,0.036649],[1335484800000,0.036665],[1335571200000,0.036797],[1335657600000,0.036797],[1335744000000,0.036797],[1335830400000,0.036797],[1335916800000,0.036797],[1336003200000,0.036797],[1336089600000,0.037026],[1336176000000,0.036835],[1336262400000,0.036835],[1336348800000,0.036835],[1336435200000,0.036344],[1336521600000,0.036325],[1336608000000,0.036325],[1336694400000,0.035919],[1336780800000,0.035675],[1336867200000,0.035675],[1336953600000,0.035675],[1337040000000,0.035225],[1337126400000,0.035112],[1337212800000,0.03458],[1337299200000,0.034025],[1337385600000,0.0342],[1337472000000,0.0342],[1337558400000,0.0342],[1337644800000,0.03425],[1337731200000,0.034354],[1337817600000,0.033502],[1337904000000,0.033478],[1337990400000,0.033339],[1338076800000,0.033339],[1338163200000,0.033339],[1338249600000,0.03366],[1338336000000,0.033599],[1338422400000,0.033253],[1338508800000,0.032863],[1338595200000,0.032184],[1338681600000,0.032184],[1338768000000,0.032184],[1338854400000,0.032184],[1338940800000,0.032873],[1339027200000,0.033258],[1339113600000,0.034118],[1339200000000,0.033598],[1339286400000,0.033598],[1339372800000,0.033598],[1339459200000,0.03388],[1339545600000,0.033626],[1339632000000,0.032873],[1339718400000,0.033704],[1339804800000,0.033938],[1339891200000,0.033938],[1339977600000,0.033938],[1340064000000,0.034467],[1340150400000,0.034946],[1340236800000,0.035385],[1340323200000,0.035428],[1340409600000,0.034839],[1340496000000,0.034839],[1340582400000,0.034839],[1340668800000,0.034713],[1340755200000,0.034814],[1340841600000,0.034715],[1340928000000,0.034715],[1341014400000,0.034715],[1341100800000,0.034715],[1341187200000,0.034715],[1341273600000,0.035168],[1341360000000,0.035114],[1341446400000,0.035179],[1341532800000,0.034731],[1341619200000,0.034396],[1341705600000,0.034398],[1341792000000,0.034398],[1341878400000,0.033928],[1341964800000,0.034081],[1342051200000,0.033937],[1342137600000,0.033728],[1342224000000,0.033706],[1342310400000,0.033706],[1342396800000,0.033706],[1342483200000,0.033778],[1342569600000,0.034225],[1342656000000,0.034203],[1342742400000,0.034575],[1342828800000,0.0341],[1342915200000,0.0341],[1343001600000,0.0341],[1343088000000,0.033556],[1343174400000,0.033443],[1343260800000,0.033605],[1343347200000,0.034407],[1343433600000,0.034831],[1343520000000,0.034831],[1343606400000,0.034831],[1343692800000,0.034995],[1343779200000,0.0352],[1343865600000,0.035059],[1343952000000,0.035252],[1344038400000,0.035087],[1344124800000,0.035087],[1344211200000,0.035087],[1344297600000,0.035894],[1344384000000,0.035871],[1344470400000,0.035477],[1344556800000,0.035522],[1344643200000,0.035142],[1344729600000,0.035142],[1344816000000,0.035142],[1344902400000,0.035337],[1344988800000,0.035435],[1345075200000,0.03512],[1345161600000,0.035255],[1345248000000,0.035372],[1345334400000,0.035372],[1345420800000,0.035372],[1345507200000,0.035385],[1345593600000,0.036099],[1345680000000,0.035894],[1345766400000,0.036302],[1345852800000,0.036302],[1345939200000,0.036302],[1346025600000,0.036302],[1346112000000,0.036071],[1346198400000,0.035695],[1346284800000,0.035381],[1346371200000,0.035145],[1346457600000,0.035537],[1346544000000,0.035537],[1346630400000,0.035537],[1346716800000,0.03526],[1346803200000,0.03531],[1346889600000,0.035325],[1346976000000,0.035389],[1347062400000,0.035386],[1347148800000,0.035386],[1347235200000,0.035386],[1347321600000,0.03578],[1347408000000,0.035877],[1347494400000,0.036381],[1347580800000,0.036395],[1347667200000,0.037149],[1347753600000,0.037149],[1347840000000,0.037149],[1347926400000,0.036962],[1348012800000,0.036763],[1348099200000,0.03671],[1348185600000,0.036407],[1348272000000,0.036782],[1348358400000,0.036782],[1348444800000,0.036782],[1348531200000,0.036444],[1348617600000,0.036482],[1348704000000,0.035926],[1348790400000,0.036116],[1348876800000,0.036277],[1348963200000,0.036277],[1349049600000,0.036277],[1349136000000,0.036098],[1349222400000,0.036192],[1349308800000,0.036045],[1349395200000,0.036244],[1349481600000,0.036755],[1349568000000,0.036755],[1349654400000,0.036755],[1349740800000,0.036502],[1349827200000,0.036533],[1349913600000,0.036513],[1350000000000,0.036634],[1350086400000,0.03684],[1350172800000,0.03684],[1350259200000,0.03684],[1350345600000,0.037223],[1350432000000,0.037441],[1350518400000,0.037587],[1350604800000,0.037827],[1350691200000,0.037303],[1350777600000,0.037303],[1350864000000,0.037303],[1350950400000,0.037348],[1351036800000,0.036891],[1351123200000,0.036828],[1351209600000,0.037128],[1351296000000,0.036588],[1351382400000,0.036588],[1351468800000,0.036588],[1351555200000,0.036157],[1351641600000,0.036406],[1351728000000,0.036562],[1351814400000,0.036748],[1351900800000,0.036497],[1351987200000,0.036497],[1352073600000,0.036497],[1352160000000,0.036141],[1352246400000,0.036306],[1352332800000,0.036114],[1352419200000,0.035773],[1352505600000,0.035676],[1352592000000,0.035676],[1352678400000,0.035676],[1352764800000,0.035892],[1352851200000,0.035687],[1352937600000,0.035683],[1353024000000,0.035866],[1353110400000,0.035847],[1353196800000,0.035847],[1353283200000,0.035847],[1353369600000,0.035991],[1353456000000,0.036362],[1353542400000,0.036389],[1353628800000,0.036929],[1353715200000,0.036786],[1353801600000,0.036786],[1353888000000,0.036786],[1353974400000,0.036767],[1354060800000,0.036991],[1354147200000,0.036655],[1354233600000,0.037186],[1354320000000,0.036935],[1354406400000,0.036935],[1354492800000,0.036935],[1354579200000,0.037023],[1354665600000,0.037057],[1354752000000,0.03695],[1354838400000,0.036858],[1354924800000,0.036325],[1355011200000,0.036325],[1355097600000,0.036325],[1355184000000,0.036454],[1355270400000,0.036809],[1355356800000,0.036917],[1355443200000,0.036869],[1355529600000,0.036847],[1355616000000,0.036847],[1355702400000,0.036847],[1355788800000,0.036627],[1355875200000,0.036523],[1355961600000,0.037071],[1356048000000,0.037003],[1356134400000,0.036762],[1356220800000,0.036762],[1356307200000,0.036762],[1356393600000,0.036408],[1356480000000,0.036408],[1356566400000,0.036408],[1356652800000,0.036384],[1356739200000,0.036236],[1356825600000,0.036236]], 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.034629],[1326585600000, 0.034629],[1329264000000, 0.036289],[1331769600000, 0.036032],[1334448000000, 0.035684],[1337040000000, 0.035081],[1339718400000, 0.033898],[1342310400000, 0.034296],[1344988800000, 0.035519],[1347667200000, 0.036155],[1350259200000, 0.036785],[1352937600000, 0.036282],[1355529600000, 0.036680]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });