$(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: 'Курс USD, грн'}, 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: 'Курс USD', data: [[1326758400000,7.9898],[1326844800000,null],[1326931200000,null],[1327017600000,7.9898],[1327104000000,7.9898],[1327190400000,7.9898],[1327276800000,7.9898],[1327363200000,7.9898],[1327449600000,7.9898],[1327536000000,7.9898],[1327622400000,7.9898],[1327708800000,7.9897],[1327795200000,7.9897],[1327881600000,7.9897],[1327968000000,7.9897],[1328054400000,7.9897],[1328140800000,7.9897],[1328227200000,7.9897],[1328313600000,7.9897],[1328400000000,7.9897],[1328486400000,7.9897],[1328572800000,7.9897],[1328659200000,7.9897],[1328745600000,7.9899],[1328832000000,7.9899],[1328918400000,7.9899],[1329004800000,7.9899],[1329091200000,7.9899],[1329177600000,7.9877],[1329264000000,7.9881],[1329350400000,7.9881],[1329436800000,7.9875],[1329523200000,7.9883],[1329609600000,7.9883],[1329696000000,7.9883],[1329782400000,7.9875],[1329868800000,7.9874],[1329955200000,7.9871],[1330041600000,7.987],[1330128000000,7.9868],[1330214400000,7.9868],[1330300800000,7.9868],[1330387200000,7.9867],[1330473600000,7.9867],[1330560000000,7.9867],[1330646400000,7.9867],[1330732800000,7.988],[1330819200000,7.988],[1330905600000,7.988],[1330992000000,7.988],[1331078400000,7.988],[1331164800000,7.9875],[1331251200000,7.9875],[1331337600000,7.9875],[1331424000000,7.9875],[1331510400000,7.9875],[1331596800000,7.986],[1331683200000,7.985],[1331769600000,7.984],[1331856000000,7.984],[1331942400000,7.985],[1332028800000,7.985],[1332115200000,7.985],[1332201600000,7.985],[1332288000000,7.985],[1332374400000,7.985],[1332460800000,7.9857],[1332547200000,7.9857],[1332633600000,7.9857],[1332720000000,7.9857],[1332806400000,7.986],[1332892800000,7.9857],[1332979200000,7.9857],[1333065600000,7.9867],[1333152000000,7.9879],[1333238400000,7.9879],[1333324800000,7.9879],[1333411200000,7.9879],[1333497600000,7.9879],[1333584000000,7.9879],[1333670400000,7.9875],[1333756800000,7.9875],[1333843200000,null],[1333929600000,7.9875],[1334016000000,7.985],[1334102400000,7.985],[1334188800000,7.985],[1334275200000,7.985],[1334361600000,7.985],[1334448000000,7.985],[1334534400000,7.985],[1334620800000,7.985],[1334707200000,7.985],[1334793600000,7.985],[1334880000000,7.9857],[1334966400000,7.9857],[1335052800000,7.9857],[1335139200000,7.9857],[1335225600000,7.9877],[1335312000000,7.9877],[1335398400000,7.9877],[1335484800000,7.9877],[1335571200000,7.9899],[1335657600000,7.9899],[1335744000000,7.9899],[1335830400000,7.9899],[1335916800000,7.9899],[1336003200000,7.9899],[1336089600000,7.9899],[1336176000000,7.9899],[1336262400000,7.9899],[1336348800000,7.9899],[1336435200000,7.9887],[1336521600000,7.9889],[1336608000000,7.9889],[1336694400000,7.99],[1336780800000,7.99],[1336867200000,7.99],[1336953600000,7.99],[1337040000000,7.99],[1337126400000,7.99],[1337212800000,7.99],[1337299200000,7.991],[1337385600000,7.9915],[1337472000000,7.9915],[1337558400000,7.9915],[1337644800000,7.9915],[1337731200000,7.9925],[1337817600000,7.9925],[1337904000000,7.9925],[1337990400000,7.9925],[1338076800000,7.9925],[1338163200000,7.9925],[1338249600000,7.9925],[1338336000000,7.9925],[1338422400000,7.9925],[1338508800000,7.9925],[1338595200000,7.9925],[1338681600000,7.9925],[1338768000000,7.9925],[1338854400000,7.9925],[1338940800000,7.9925],[1339027200000,7.9925],[1339113600000,7.9925],[1339200000000,7.9925],[1339286400000,7.9925],[1339372800000,7.9925],[1339459200000,7.9925],[1339545600000,7.9925],[1339632000000,7.9925],[1339718400000,7.9925],[1339804800000,7.9925],[1339891200000,7.9925],[1339977600000,7.9925],[1340064000000,7.9925],[1340150400000,7.9925],[1340236800000,7.9925],[1340323200000,7.9925],[1340409600000,7.9925],[1340496000000,7.9925],[1340582400000,7.9925],[1340668800000,7.9925],[1340755200000,7.9925],[1340841600000,7.9925],[1340928000000,7.9925],[1341014400000,7.9925],[1341100800000,7.9925],[1341187200000,7.9925],[1341273600000,7.9925],[1341360000000,7.9925],[1341446400000,7.9925],[1341532800000,7.9925],[1341619200000,7.9925],[1341705600000,7.993],[1341792000000,7.993],[1341878400000,7.993],[1341964800000,7.993],[1342051200000,7.993],[1342137600000,7.993],[1342224000000,7.993],[1342310400000,7.993],[1342396800000,7.993],[1342483200000,7.993],[1342569600000,7.993],[1342656000000,7.993],[1342742400000,7.993],[1342828800000,7.993],[1342915200000,7.993],[1343001600000,7.993],[1343088000000,7.993],[1343174400000,7.993],[1343260800000,7.993],[1343347200000,7.993],[1343433600000,7.993],[1343520000000,7.993],[1343606400000,7.993],[1343692800000,7.993],[1343779200000,7.993],[1343865600000,7.993],[1343952000000,7.993],[1344038400000,7.993],[1344124800000,7.993],[1344211200000,7.993],[1344297600000,7.993],[1344384000000,7.993],[1344470400000,7.993],[1344556800000,7.993],[1344643200000,7.993],[1344729600000,7.993],[1344816000000,7.993],[1344902400000,7.993],[1344988800000,7.993],[1345075200000,7.993],[1345161600000,7.993],[1345248000000,7.993],[1345334400000,7.993],[1345420800000,7.993],[1345507200000,7.993],[1345593600000,7.993],[1345680000000,7.993],[1345766400000,7.993],[1345852800000,7.993],[1345939200000,7.993],[1346025600000,7.993],[1346112000000,7.993],[1346198400000,7.993],[1346284800000,7.993],[1346371200000,7.993],[1346457600000,7.993],[1346544000000,7.993],[1346630400000,7.993],[1346716800000,7.993],[1346803200000,7.993],[1346889600000,7.993],[1346976000000,7.993],[1347062400000,7.993],[1347148800000,7.993],[1347235200000,7.993],[1347321600000,7.993],[1347408000000,7.993],[1347494400000,7.993],[1347580800000,7.993],[1347667200000,7.993],[1347753600000,7.993],[1347840000000,7.993],[1347926400000,7.993],[1348012800000,7.993],[1348099200000,7.993],[1348185600000,7.993],[1348272000000,7.993],[1348358400000,7.993],[1348444800000,7.993],[1348531200000,7.993],[1348617600000,7.993],[1348704000000,7.993],[1348790400000,7.993],[1348876800000,7.993],[1348963200000,7.993],[1349049600000,7.993],[1349136000000,7.993],[1349222400000,7.993],[1349308800000,7.993],[1349395200000,7.993],[1349481600000,7.993],[1349568000000,7.993],[1349654400000,7.993],[1349740800000,7.993],[1349827200000,7.993],[1349913600000,7.993],[1350000000000,7.993],[1350086400000,7.993],[1350172800000,7.993],[1350259200000,7.993],[1350345600000,7.993],[1350432000000,7.993],[1350518400000,7.993],[1350604800000,7.993],[1350691200000,7.993],[1350777600000,7.993],[1350864000000,7.993],[1350950400000,7.993],[1351036800000,7.993],[1351123200000,7.993],[1351209600000,7.993],[1351296000000,7.993],[1351382400000,7.993],[1351468800000,7.993],[1351555200000,7.993],[1351641600000,7.993],[1351728000000,7.993],[1351814400000,7.993],[1351900800000,7.993],[1351987200000,7.993],[1352073600000,7.993],[1352160000000,7.993],[1352246400000,7.993],[1352332800000,7.993],[1352419200000,7.993],[1352505600000,7.993],[1352592000000,7.993],[1352678400000,7.993],[1352764800000,7.993],[1352851200000,7.993],[1352937600000,7.993],[1353024000000,7.993],[1353110400000,7.993],[1353196800000,7.993],[1353283200000,7.993],[1353369600000,7.993],[1353456000000,7.993],[1353542400000,7.993],[1353628800000,7.993],[1353715200000,7.993],[1353801600000,7.993],[1353888000000,7.993],[1353974400000,7.993],[1354060800000,7.993],[1354147200000,7.993],[1354233600000,7.993],[1354320000000,7.993],[1354406400000,7.993],[1354492800000,7.993],[1354579200000,7.993],[1354665600000,7.993],[1354752000000,7.993],[1354838400000,7.993],[1354924800000,7.993],[1355011200000,7.993],[1355097600000,7.993],[1355184000000,7.993],[1355270400000,7.993],[1355356800000,7.993],[1355443200000,7.993],[1355529600000,7.993],[1355616000000,7.993],[1355702400000,7.993],[1355788800000,7.993],[1355875200000,7.993],[1355961600000,7.993],[1356048000000,7.993],[1356134400000,7.993],[1356220800000,7.993],[1356307200000,7.993],[1356393600000,7.993],[1356480000000,7.993],[1356566400000,7.993],[1356652800000,7.993],[1356739200000,7.993],[1356825600000,7.993]], 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, 7.989769],[1326585600000, 7.989769],[1329264000000, 7.988490],[1331769600000, 7.986281],[1334448000000, 7.986734],[1337040000000, 7.990816],[1339718400000, 7.992500],[1342310400000, 7.992887],[1344988800000, 7.993000],[1347667200000, 7.993000],[1350259200000, 7.993000],[1352937600000, 7.993000],[1355529600000, 7.993000]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });