$(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: 'Курс NOK, грн'}, 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: 'Курс NOK', data: [[1326758400000,1.33346],[1326844800000,null],[1326931200000,null],[1327017600000,1.34634],[1327104000000,1.34575],[1327190400000,1.34575],[1327276800000,1.34575],[1327363200000,1.35695],[1327449600000,1.36001],[1327536000000,1.34597],[1327622400000,1.37352],[1327708800000,1.37377],[1327795200000,1.37377],[1327881600000,1.37377],[1327968000000,1.36369],[1328054400000,1.37503],[1328140800000,1.37529],[1328227200000,1.3679],[1328313600000,1.37552],[1328400000000,1.37552],[1328486400000,1.37552],[1328572800000,1.37243],[1328659200000,1.37447],[1328745600000,1.39019],[1328832000000,1.39148],[1328918400000,1.38329],[1329004800000,1.38329],[1329091200000,1.38329],[1329177600000,1.39835],[1329264000000,1.39609],[1329350400000,1.38912],[1329436800000,1.37315],[1329523200000,1.40204],[1329609600000,1.40204],[1329696000000,1.40204],[1329782400000,1.41509],[1329868800000,1.40438],[1329955200000,1.40892],[1330041600000,1.42186],[1330128000000,1.43236],[1330214400000,1.43236],[1330300800000,1.43236],[1330387200000,1.42616],[1330473600000,1.43654],[1330560000000,1.44298],[1330646400000,1.43239],[1330732800000,1.42278],[1330819200000,1.42278],[1330905600000,1.42278],[1330992000000,1.4232],[1331078400000,1.40991],[1331164800000,1.40704],[1331251200000,1.40704],[1331337600000,1.40704],[1331424000000,1.40704],[1331510400000,1.40704],[1331596800000,1.40074],[1331683200000,1.39918],[1331769600000,1.38183],[1331856000000,1.37774],[1331942400000,1.38754],[1332028800000,1.38754],[1332115200000,1.38754],[1332201600000,1.39067],[1332288000000,1.38556],[1332374400000,1.38758],[1332460800000,1.37917],[1332547200000,1.38448],[1332633600000,1.38448],[1332720000000,1.38448],[1332806400000,1.39338],[1332892800000,1.40633],[1332979200000,1.39936],[1333065600000,1.38888],[1333152000000,1.40303],[1333238400000,1.40303],[1333324800000,1.40303],[1333411200000,1.40906],[1333497600000,1.40686],[1333584000000,1.3862],[1333670400000,1.37902],[1333756800000,1.37902],[1333843200000,null],[1333929600000,1.37902],[1334016000000,1.37859],[1334102400000,1.38119],[1334188800000,1.37889],[1334275200000,1.38011],[1334361600000,1.38159],[1334448000000,1.38159],[1334534400000,1.38159],[1334620800000,1.38159],[1334707200000,1.38932],[1334793600000,1.38428],[1334880000000,1.38439],[1334966400000,1.39588],[1335052800000,1.39588],[1335139200000,1.39588],[1335225600000,1.38757],[1335312000000,1.3912],[1335398400000,1.39485],[1335484800000,1.39322],[1335571200000,1.39297],[1335657600000,1.39297],[1335744000000,1.39297],[1335830400000,1.39297],[1335916800000,1.39297],[1336003200000,1.39297],[1336089600000,1.39051],[1336176000000,1.38769],[1336262400000,1.38769],[1336348800000,1.38769],[1336435200000,1.37657],[1336521600000,1.3763],[1336608000000,1.3763],[1336694400000,1.37027],[1336780800000,1.36414],[1336867200000,1.36414],[1336953600000,1.36414],[1337040000000,1.35382],[1337126400000,1.34693],[1337212800000,1.33548],[1337299200000,1.33693],[1337385600000,1.33807],[1337472000000,1.33807],[1337558400000,1.33807],[1337644800000,1.33602],[1337731200000,1.34779],[1337817600000,1.33602],[1337904000000,1.33177],[1337990400000,1.32795],[1338076800000,1.32795],[1338163200000,1.32795],[1338249600000,1.33274],[1338336000000,1.3309],[1338422400000,1.32292],[1338508800000,1.31762],[1338595200000,1.3002],[1338681600000,1.3002],[1338768000000,1.3002],[1338854400000,1.3002],[1338940800000,1.30804],[1339027200000,1.31186],[1339113600000,1.32655],[1339200000000,1.31128],[1339286400000,1.31128],[1339372800000,1.31128],[1339459200000,1.32686],[1339545600000,1.32303],[1339632000000,1.30804],[1339718400000,1.33627],[1339804800000,1.33803],[1339891200000,1.33803],[1339977600000,1.33803],[1340064000000,1.34001],[1340150400000,1.34172],[1340236800000,1.35274],[1340323200000,1.35092],[1340409600000,1.33865],[1340496000000,1.33865],[1340582400000,1.33865],[1340668800000,1.33116],[1340755200000,1.32951],[1340841600000,1.32567],[1340928000000,1.32567],[1341014400000,1.32567],[1341100800000,1.32567],[1341187200000,1.32567],[1341273600000,1.33745],[1341360000000,1.3366],[1341446400000,1.33554],[1341532800000,1.32845],[1341619200000,1.31564],[1341705600000,1.31573],[1341792000000,1.31573],[1341878400000,1.31072],[1341964800000,1.31161],[1342051200000,1.31105],[1342137600000,1.30289],[1342224000000,1.30889],[1342310400000,1.30889],[1342396800000,1.30889],[1342483200000,1.30601],[1342569600000,1.3132],[1342656000000,1.30687],[1342742400000,1.31341],[1342828800000,1.31368],[1342915200000,1.31368],[1343001600000,1.31368],[1343088000000,1.31087],[1343174400000,1.31073],[1343260800000,1.31606],[1343347200000,1.32442],[1343433600000,1.31741],[1343520000000,1.31741],[1343606400000,1.31741],[1343692800000,1.31881],[1343779200000,1.32299],[1343865600000,1.33105],[1343952000000,1.33272],[1344038400000,1.32801],[1344124800000,1.32801],[1344211200000,1.32801],[1344297600000,1.33809],[1344384000000,1.35102],[1344470400000,1.34997],[1344556800000,1.34771],[1344643200000,1.34814],[1344729600000,1.34814],[1344816000000,1.34814],[1344902400000,1.34983],[1344988800000,1.35227],[1345075200000,1.34497],[1345161600000,1.33769],[1345248000000,1.34538],[1345334400000,1.34538],[1345420800000,1.34538],[1345507200000,1.34437],[1345593600000,1.35641],[1345680000000,1.35333],[1345766400000,1.36668],[1345852800000,1.36668],[1345939200000,1.36668],[1346025600000,1.36668],[1346112000000,1.37289],[1346198400000,1.3758],[1346284800000,1.37124],[1346371200000,1.37773],[1346457600000,1.38224],[1346544000000,1.38224],[1346630400000,1.38224],[1346716800000,1.37583],[1346803200000,1.37939],[1346889600000,1.37589],[1346976000000,1.37017],[1347062400000,1.37745],[1347148800000,1.37745],[1347235200000,1.37745],[1347321600000,1.38185],[1347408000000,1.38322],[1347494400000,1.39163],[1347580800000,1.39088],[1347667200000,1.40901],[1347753600000,1.40901],[1347840000000,1.40901],[1347926400000,1.39975],[1348012800000,1.39764],[1348099200000,1.39844],[1348185600000,1.39318],[1348272000000,1.39881],[1348358400000,1.39881],[1348444800000,1.39881],[1348531200000,1.38816],[1348617600000,1.39683],[1348704000000,1.38687],[1348790400000,1.39433],[1348876800000,1.4024],[1348963200000,1.4024],[1349049600000,1.4024],[1349136000000,1.39504],[1349222400000,1.40173],[1349308800000,1.39164],[1349395200000,1.39352],[1349481600000,1.40563],[1349568000000,1.40563],[1349654400000,1.40563],[1349740800000,1.39926],[1349827200000,1.39815],[1349913600000,1.39247],[1350000000000,1.39863],[1350086400000,1.40084],[1350172800000,1.40084],[1350259200000,1.40084],[1350345600000,1.39915],[1350432000000,1.41086],[1350518400000,1.4179],[1350604800000,1.42134],[1350691200000,1.41101],[1350777600000,1.41101],[1350864000000,1.41101],[1350950400000,1.41356],[1351036800000,1.4015],[1351123200000,1.39133],[1351209600000,1.39185],[1351296000000,1.38164],[1351382400000,1.38164],[1351468800000,1.38164],[1351555200000,1.38344],[1351641600000,1.39292],[1351728000000,1.40617],[1351814400000,1.40708],[1351900800000,1.40113],[1351987200000,1.40113],[1352073600000,1.40113],[1352160000000,1.3909],[1352246400000,1.3973],[1352332800000,1.39188],[1352419200000,1.39412],[1352505600000,1.38962],[1352592000000,1.38962],[1352678400000,1.38962],[1352764800000,1.39382],[1352851200000,1.38519],[1352937600000,1.38922],[1353024000000,1.3854],[1353110400000,1.38233],[1353196800000,1.38233],[1353283200000,1.38233],[1353369600000,1.3838],[1353456000000,1.39581],[1353542400000,1.39708],[1353628800000,1.40688],[1353715200000,1.40785],[1353801600000,1.40785],[1353888000000,1.40785],[1353974400000,1.41231],[1354060800000,1.40805],[1354147200000,1.4035],[1354233600000,1.41308],[1354320000000,1.40723],[1354406400000,1.40723],[1354492800000,1.40723],[1354579200000,1.42012],[1354665600000,1.42441],[1354752000000,1.41964],[1354838400000,1.42427],[1354924800000,1.40713],[1355011200000,1.40713],[1355097600000,1.40713],[1355184000000,1.41091],[1355270400000,1.41537],[1355356800000,1.42204],[1355443200000,1.4255],[1355529600000,1.41839],[1355616000000,1.41839],[1355702400000,1.41839],[1355788800000,1.42715],[1355875200000,1.42629],[1355961600000,1.44157],[1356048000000,1.43764],[1356134400000,1.44323],[1356220800000,1.44323],[1356307200000,1.44323],[1356393600000,1.43363],[1356480000000,1.43363],[1356566400000,1.43363],[1356652800000,1.43757],[1356739200000,1.43607],[1356825600000,1.43607]], 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, 1.356806],[1326585600000, 1.356806],[1329264000000, 1.396416],[1331769600000, 1.400694],[1334448000000, 1.389026],[1337040000000, 1.355928],[1339718400000, 1.324867],[1342310400000, 1.316551],[1344988800000, 1.349723],[1347667200000, 1.390379],[1350259200000, 1.399807],[1352937600000, 1.396814],[1355529600000, 1.424823]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });