$(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: 'Курс LTL, грн'}, 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: 'Курс LTL', data: [[1326758400000,2.95961],[1326844800000,null],[1326931200000,null],[1327017600000,2.98761],[1327104000000,2.98553],[1327190400000,2.98553],[1327276800000,2.98553],[1327363200000,3.01214],[1327449600000,3.0089],[1327536000000,2.99479],[1327622400000,3.04176],[1327708800000,3.04172],[1327795200000,3.04172],[1327881600000,3.04172],[1327968000000,3.03362],[1328054400000,3.0489],[1328140800000,3.04867],[1328227200000,3.02992],[1328313600000,3.04519],[1328400000000,3.04519],[1328486400000,3.04519],[1328572800000,3.01789],[1328659200000,3.03432],[1328745600000,3.07165],[1328832000000,3.07489],[1328918400000,3.05198],[1329004800000,3.05198],[1329091200000,3.05198],[1329177600000,3.06618],[1329264000000,3.04667],[1329350400000,3.02885],[1329436800000,3.00318],[1329523200000,3.04443],[1329609600000,3.04443],[1329696000000,3.04443],[1329782400000,3.06888],[1329868800000,3.05866],[1329955200000,3.0604],[1330041600000,3.07655],[1330128000000,3.10238],[1330214400000,3.10238],[1330300800000,3.10238],[1330387200000,3.09679],[1330473600000,3.11206],[1330560000000,3.10951],[1330646400000,3.07921],[1330732800000,3.05773],[1330819200000,3.05773],[1330905600000,3.05773],[1330992000000,3.05843],[1331078400000,3.04293],[1331164800000,3.0351],[1331251200000,3.0351],[1331337600000,3.0351],[1331424000000,3.0351],[1331510400000,3.0351],[1331596800000,3.0343],[1331683200000,3.01958],[1331769600000,3.02036],[1331856000000,3.0192],[1331942400000,3.03323],[1332028800000,3.03323],[1332115200000,3.03323],[1332201600000,3.04109],[1332288000000,3.05219],[1332374400000,3.05843],[1332460800000,3.04529],[1332547200000,3.06263],[1332633600000,3.06263],[1332720000000,3.06263],[1332806400000,3.07061],[1332892800000,3.08368],[1332979200000,3.08461],[1333065600000,3.06996],[1333152000000,3.08985],[1333238400000,3.08985],[1333324800000,3.08985],[1333411200000,3.08129],[1333497600000,3.08037],[1333584000000,3.04034],[1333670400000,3.02307],[1333756800000,3.02307],[1333843200000,null],[1333929600000,3.02307],[1334016000000,3.02213],[1334102400000,3.03276],[1334188800000,3.0367],[1334275200000,3.04178],[1334361600000,3.04063],[1334448000000,3.04063],[1334534400000,3.04063],[1334620800000,3.04063],[1334707200000,3.03693],[1334793600000,3.02791],[1334880000000,3.02655],[1334966400000,3.05107],[1335052800000,3.05107],[1335139200000,3.05107],[1335225600000,3.03772],[1335312000000,3.04466],[1335398400000,3.05507],[1335484800000,3.05715],[1335571200000,3.06124],[1335657600000,3.06124],[1335744000000,3.06124],[1335830400000,3.06124],[1335916800000,3.06124],[1336003200000,3.06124],[1336089600000,3.03671],[1336176000000,3.03879],[1336262400000,3.03879],[1336348800000,3.03879],[1336435200000,3.01543],[1336521600000,3.01365],[1336608000000,3.01365],[1336694400000,2.99926],[1336780800000,2.99532],[1336867200000,2.99532],[1336953600000,2.99532],[1337040000000,2.97658],[1337126400000,2.97195],[1337212800000,2.94766],[1337299200000,2.93506],[1337385600000,2.94427],[1337472000000,2.94427],[1337558400000,2.94427],[1337644800000,2.95099],[1337731200000,2.95552],[1337817600000,2.93029],[1337904000000,2.90668],[1337990400000,2.90413],[1338076800000,2.90413],[1338163200000,2.90413],[1338249600000,2.90876],[1338336000000,2.89881],[1338422400000,2.87913],[1338508800000,2.87103],[1338595200000,2.85228],[1338681600000,2.85228],[1338768000000,2.85228],[1338854400000,2.85228],[1338940800000,2.87705],[1339027200000,2.89001],[1339113600000,2.91547],[1339200000000,2.88608],[1339286400000,2.88608],[1339372800000,2.88608],[1339459200000,2.90367],[1339545600000,2.89163],[1339632000000,2.87705],[1339718400000,2.90529],[1339804800000,2.91571],[1339891200000,2.91571],[1339977600000,2.91571],[1340064000000,2.9208],[1340150400000,2.92103],[1340236800000,2.94071],[1340323200000,2.93284],[1340409600000,2.90251],[1340496000000,2.90251],[1340582400000,2.90251],[1340668800000,2.89071],[1340755200000,2.8877],[1340841600000,2.88839],[1340928000000,2.88839],[1341014400000,2.88839],[1341100800000,2.88839],[1341187200000,2.88839],[1341273600000,2.91501],[1341360000000,2.91085],[1341446400000,2.90737],[1341532800000,2.87636],[1341619200000,2.86501],[1341705600000,2.86519],[1341792000000,2.86519],[1341878400000,2.84575],[1341964800000,2.84389],[1342051200000,2.83811],[1342137600000,2.81913],[1342224000000,2.82075],[1342310400000,2.82075],[1342396800000,2.82075],[1342483200000,2.81889],[1342569600000,2.84297],[1342656000000,2.83209],[1342742400000,2.84436],[1342828800000,2.82422],[1342915200000,2.82422],[1343001600000,2.82422],[1343088000000,2.80223],[1343174400000,2.79852],[1343260800000,2.80894],[1343347200000,2.83811],[1343433600000,2.8513],[1343520000000,2.8513],[1343606400000,2.8513],[1343692800000,2.83487],[1343779200000,2.84366],[1343865600000,2.8469],[1343952000000,2.85802],[1344038400000,2.83464],[1344124800000,2.83464],[1344211200000,2.83464],[1344297600000,2.86565],[1344384000000,2.87885],[1344470400000,2.8557],[1344556800000,2.8476],[1344643200000,2.83857],[1344729600000,2.83857],[1344816000000,2.83857],[1344902400000,2.8564],[1344988800000,2.85941],[1345075200000,2.84181],[1345161600000,2.84251],[1345248000000,2.85593],[1345334400000,2.85593],[1345420800000,2.85593],[1345507200000,2.84737],[1345593600000,2.877],[1345680000000,2.88163],[1345766400000,2.9057],[1345852800000,2.9057],[1345939200000,2.9057],[1346025600000,2.9057],[1346112000000,2.90061],[1346198400000,2.90478],[1346284800000,2.90408],[1346371200000,2.90385],[1346457600000,2.91936],[1346544000000,2.91936],[1346630400000,2.91936],[1346716800000,2.90941],[1346803200000,2.91195],[1346889600000,2.91172],[1346976000000,2.92561],[1347062400000,2.94135],[1347148800000,2.94135],[1347235200000,2.94135],[1347321600000,2.95756],[1347408000000,2.9601],[1347494400000,2.98534],[1347580800000,2.98858],[1347667200000,3.0314],[1347753600000,3.0314],[1347840000000,3.0314],[1347926400000,3.02932],[1348012800000,3.02191],[1348099200000,3.00988],[1348185600000,2.99876],[1348272000000,3.00664],[1348358400000,3.00664],[1348444800000,3.00664],[1348531200000,2.98997],[1348617600000,2.99367],[1348704000000,2.97353],[1348790400000,2.98024],[1348876800000,2.99321],[1348963200000,2.99321],[1349049600000,2.99321],[1349136000000,2.98094],[1349222400000,2.99321],[1349308800000,2.98719],[1349395200000,2.99807],[1349481600000,3.00988],[1349568000000,3.00988],[1349654400000,3.00988],[1349740800000,2.99969],[1349827200000,2.99853],[1349913600000,2.98372],[1350000000000,2.99043],[1350086400000,3.00247],[1350172800000,3.00247],[1350259200000,3.00247],[1350345600000,3.0027],[1350432000000,3.02006],[1350518400000,3.03719],[1350604800000,3.03673],[1350691200000,3.01751],[1350777600000,3.01751],[1350864000000,3.01751],[1350950400000,3.024],[1351036800000,3.01057],[1351123200000,2.99599],[1351209600000,3.00779],[1351296000000,2.98812],[1351382400000,2.98812],[1351468800000,2.98812],[1351555200000,2.9858],[1351641600000,3.00062],[1351728000000,3.00779],[1351814400000,3.00362],[1351900800000,2.97469],[1351987200000,2.97469],[1352073600000,2.97469],[1352160000000,2.95779],[1352246400000,2.96311],[1352332800000,2.95061],[1352419200000,2.9483],[1352505600000,2.93858],[1352592000000,2.93858],[1352678400000,2.93858],[1352764800000,2.94807],[1352851200000,2.93904],[1352937600000,2.94598],[1353024000000,2.95293],[1353110400000,2.95038],[1353196800000,2.95038],[1353283200000,2.95038],[1353369600000,2.95432],[1353456000000,2.9652],[1353542400000,2.96427],[1353628800000,2.98464],[1353715200000,2.98835],[1353801600000,2.98835],[1353888000000,2.98835],[1353974400000,3.00108],[1354060800000,3.00038],[1354147200000,2.98418],[1354233600000,3.00802],[1354320000000,3.00617],[1354406400000,3.00617],[1354492800000,3.00617],[1354579200000,3.02261],[1354665600000,3.03071],[1354752000000,3.02446],[1354838400000,3.02608],[1354924800000,2.98742],[1355011200000,2.98742],[1355097600000,2.98742],[1355184000000,2.99321],[1355270400000,3.00779],[1355356800000,3.01867],[1355443200000,3.02724],[1355529600000,3.02816],[1355616000000,3.02816],[1355702400000,3.02816],[1355788800000,3.04645],[1355875200000,3.05062],[1355961600000,3.07932],[1356048000000,3.06636],[1356134400000,3.0578],[1356220800000,3.0578],[1356307200000,3.0578],[1356393600000,3.05988],[1356480000000,3.05988],[1356566400000,3.05988],[1356652800000,3.07099],[1356739200000,3.05178],[1356825600000,3.05178]], 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, 3.009247],[1326585600000, 3.009247],[1329264000000, 3.057806],[1331769600000, 3.052114],[1334448000000, 3.047232],[1337040000000, 2.973271],[1339718400000, 2.893740],[1342310400000, 2.846401],[1344988800000, 2.865357],[1347667200000, 2.974341],[1350259200000, 3.003237],[1352937600000, 2.967844],[1355529600000, 3.033488]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });