$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1326758400000,14.5964],[1326844800000,null],[1326931200000,null],[1327017600000,14.7324],[1327104000000,14.7474],[1327190400000,14.7474],[1327276800000,14.7474],[1327363200000,14.8874],[1327449600000,14.8905],[1327536000000,14.8186],[1327622400000,15.0338],[1327708800000,15.0228],[1327795200000,15.0228],[1327881600000,15.0228],[1327968000000,14.9828],[1328054400000,15.0583],[1328140800000,15.0464],[1328227200000,14.9453],[1328313600000,15.0228],[1328400000000,15.0228],[1328486400000,15.0228],[1328572800000,14.9009],[1328659200000,14.9884],[1328745600000,15.1728],[1328832000000,15.191],[1328918400000,15.0756],[1329004800000,15.0756],[1329091200000,15.0756],[1329177600000,15.1501],[1329264000000,15.0537],[1329350400000,14.9678],[1329436800000,14.8431],[1329523200000,15.0427],[1329609600000,15.0427],[1329696000000,15.0427],[1329782400000,15.1765],[1329868800000,15.1368],[1329955200000,15.1345],[1330041600000,15.2079],[1330128000000,15.3334],[1330214400000,15.3334],[1330300800000,15.3334],[1330387200000,15.3036],[1330473600000,15.3768],[1330560000000,15.3708],[1330646400000,15.2189],[1330732800000,15.1192],[1330819200000,15.1192],[1330905600000,15.1192],[1330992000000,15.1291],[1331078400000,15.0503],[1331164800000,15.0181],[1331251200000,15.0181],[1331337600000,15.0181],[1331424000000,15.0181],[1331510400000,15.0181],[1331596800000,15.04],[1331683200000,14.967],[1331769600000,14.973],[1331856000000,14.9608],[1331942400000,15.026],[1332028800000,15.026],[1332115200000,15.026],[1332201600000,15.0693],[1332288000000,15.1286],[1332374400000,15.1531],[1332460800000,15.0901],[1332547200000,15.1739],[1332633600000,15.1739],[1332720000000,15.1739],[1332806400000,15.2156],[1332892800000,15.2453],[1332979200000,15.2042],[1333065600000,15.1277],[1333152000000,15.2344],[1333238400000,15.2344],[1333324800000,15.2344],[1333411200000,15.1792],[1333497600000,15.1789],[1333584000000,14.9924],[1333670400000,14.9222],[1333756800000,14.9222],[1333843200000,null],[1333929600000,14.9222],[1334016000000,14.9175],[1334102400000,14.9743],[1334188800000,14.9959],[1334275200000,15.0274],[1334361600000,15.0303],[1334448000000,15.0303],[1334534400000,15.0303],[1334620800000,15.0303],[1334707200000,15.0034],[1334793600000,14.961],[1334880000000,14.9608],[1334966400000,15.0819],[1335052800000,15.0819],[1335139200000,15.0819],[1335225600000,15.0052],[1335312000000,15.033],[1335398400000,15.0845],[1335484800000,15.0861],[1335571200000,15.1106],[1335657600000,15.1106],[1335744000000,15.1106],[1335830400000,15.1106],[1335916800000,15.1106],[1336003200000,15.1106],[1336089600000,15.0024],[1336176000000,15.0105],[1336262400000,15.0105],[1336348800000,15.0105],[1336435200000,14.8844],[1336521600000,14.897],[1336608000000,14.897],[1336694400000,14.8322],[1336780800000,14.8212],[1336867200000,14.8212],[1336953600000,14.8212],[1337040000000,14.7348],[1337126400000,14.7204],[1337212800000,14.5895],[1337299200000,14.5272],[1337385600000,14.5791],[1337472000000,14.5791],[1337558400000,14.5791],[1337644800000,14.6018],[1337731200000,14.6264],[1337817600000,14.4974],[1337904000000,14.3888],[1337990400000,14.3597],[1338076800000,14.3597],[1338163200000,14.3597],[1338249600000,14.3888],[1338336000000,14.3334],[1338422400000,14.2381],[1338508800000,14.2083],[1338595200000,14.1094],[1338681600000,14.1094],[1338768000000,14.1094],[1338854400000,14.1094],[1338940800000,14.2564],[1339027200000,14.3186],[1339113600000,14.4427],[1339200000000,14.2909],[1339286400000,14.2909],[1339372800000,14.2909],[1339459200000,14.3842],[1339545600000,14.3266],[1339632000000,14.2564],[1339718400000,14.3964],[1339804800000,14.4459],[1339891200000,14.4459],[1339977600000,14.4459],[1340064000000,14.4753],[1340150400000,14.4723],[1340236800000,14.5719],[1340323200000,14.5287],[1340409600000,14.3805],[1340496000000,14.3805],[1340582400000,14.3805],[1340668800000,14.3323],[1340755200000,14.3154],[1340841600000,14.3188],[1340928000000,14.3188],[1341014400000,14.3188],[1341100800000,14.3188],[1341187200000,14.3188],[1341273600000,14.4466],[1341360000000,14.4239],[1341446400000,14.415],[1341532800000,14.2714],[1341619200000,14.207],[1341705600000,14.2079],[1341792000000,14.2079],[1341878400000,14.1135],[1341964800000,14.1043],[1342051200000,14.0756],[1342137600000,13.9814],[1342224000000,13.9915],[1342310400000,13.9915],[1342396800000,13.9915],[1342483200000,13.9823],[1342569600000,14.0997],[1342656000000,14.0518],[1342742400000,14.1127],[1342828800000,14.0067],[1342915200000,14.0067],[1343001600000,14.0067],[1343088000000,13.8976],[1343174400000,13.8793],[1343260800000,13.9289],[1343347200000,14.0736],[1343433600000,14.1329],[1343520000000,14.1329],[1343606400000,14.1329],[1343692800000,14.0534],[1343779200000,14.1052],[1343865600000,14.1091],[1343952000000,14.1601],[1344038400000,14.0523],[1344124800000,14.0523],[1344211200000,14.0523],[1344297600000,14.2102],[1344384000000,14.2776],[1344470400000,14.1608],[1344556800000,14.1267],[1344643200000,14.0779],[1344729600000,14.0779],[1344816000000,14.0779],[1344902400000,14.1642],[1344988800000,14.1812],[1345075200000,14.0939],[1345161600000,14.0974],[1345248000000,14.1619],[1345334400000,14.1619],[1345420800000,14.1619],[1345507200000,14.1215],[1345593600000,14.2664],[1345680000000,14.2894],[1345766400000,14.4088],[1345852800000,14.4088],[1345939200000,14.4088],[1346025600000,14.4088],[1346112000000,14.3835],[1346198400000,14.4042],[1346284800000,14.4007],[1346371200000,14.4016],[1346457600000,14.4827],[1346544000000,14.4827],[1346630400000,14.4827],[1346716800000,14.4271],[1346803200000,14.4397],[1346889600000,14.4407],[1346976000000,14.5096],[1347062400000,14.5855],[1347148800000,14.5855],[1347235200000,14.5855],[1347321600000,14.6659],[1347408000000,14.6785],[1347494400000,14.8079],[1347580800000,14.8218],[1347667200000,15.0364],[1347753600000,15.0364],[1347840000000,15.0364],[1347926400000,15.0217],[1348012800000,14.9872],[1348099200000,14.9275],[1348185600000,14.8724],[1348272000000,14.9114],[1348358400000,14.9114],[1348444800000,14.9114],[1348531200000,14.8266],[1348617600000,14.8471],[1348704000000,14.7472],[1348790400000,14.7784],[1348876800000,14.8448],[1348963200000,14.8448],[1349049600000,14.8448],[1349136000000,14.784],[1349222400000,14.8427],[1349308800000,14.8171],[1349395200000,14.8689],[1349481600000,14.9296],[1349568000000,14.9296],[1349654400000,14.9296],[1349740800000,14.8769],[1349827200000,14.8691],[1349913600000,14.7999],[1350000000000,14.8332],[1350086400000,14.8929],[1350172800000,14.8929],[1350259200000,14.8929],[1350345600000,14.8919],[1350432000000,14.978],[1350518400000,15.0629],[1350604800000,15.0628],[1350691200000,14.9632],[1350777600000,14.9632],[1350864000000,14.9632],[1350950400000,14.9932],[1351036800000,14.9288],[1351123200000,14.8564],[1351209600000,14.9193],[1351296000000,14.8195],[1351382400000,14.8195],[1351468800000,14.8195],[1351555200000,14.8102],[1351641600000,14.8837],[1351728000000,14.9171],[1351814400000,14.8965],[1351900800000,14.753],[1351987200000,14.753],[1352073600000,14.753],[1352160000000,14.6691],[1352246400000,14.6934],[1352332800000,14.6314],[1352419200000,14.6263],[1352505600000,14.5739],[1352592000000,14.5739],[1352678400000,14.5739],[1352764800000,14.6188],[1352851200000,14.5761],[1352937600000,14.6127],[1353024000000,14.6471],[1353110400000,14.6303],[1353196800000,14.6303],[1353283200000,14.6303],[1353369600000,14.654],[1353456000000,14.708],[1353542400000,14.7034],[1353628800000,14.8023],[1353715200000,14.8228],[1353801600000,14.8228],[1353888000000,14.8228],[1353974400000,14.8817],[1354060800000,14.8783],[1354147200000,14.7936],[1354233600000,14.9183],[1354320000000,14.9091],[1354406400000,14.9091],[1354492800000,14.9091],[1354579200000,14.9885],[1354665600000,15.0265],[1354752000000,14.9933],[1354838400000,15.0057],[1354924800000,14.8118],[1355011200000,14.8118],[1355097600000,14.8118],[1355184000000,14.8427],[1355270400000,14.9193],[1355356800000,14.9732],[1355443200000,15.0136],[1355529600000,15.016],[1355616000000,15.016],[1355702400000,15.016],[1355788800000,15.1067],[1355875200000,15.1317],[1355961600000,15.2697],[1356048000000,15.2054],[1356134400000,15.1608],[1356220800000,15.1608],[1356307200000,15.1608],[1356393600000,15.1689],[1356480000000,15.1689],[1356566400000,15.1689],[1356652800000,15.2109],[1356739200000,15.1006],[1356825600000,15.1006]], 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, 14.865589],[1326585600000, 14.865589],[1329264000000, 15.106107],[1331769600000, 15.104051],[1334448000000, 15.045992],[1337040000000, 14.703317],[1339718400000, 14.334381],[1342310400000, 14.114981],[1344988800000, 14.208551],[1347667200000, 14.751231],[1350259200000, 14.894812],[1352937600000, 14.718935],[1355529600000, 15.038341]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });