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