$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1326758400000,10.219],[1326844800000,null],[1326931200000,null],[1327017600000,10.3156],[1327104000000,10.3084],[1327190400000,10.3084],[1327276800000,10.3084],[1327363200000,10.4003],[1327449600000,10.3891],[1327536000000,10.3404],[1327622400000,10.5026],[1327708800000,10.5025],[1327795200000,10.5025],[1327881600000,10.5025],[1327968000000,10.4745],[1328054400000,10.5272],[1328140800000,10.5264],[1328227200000,10.4617],[1328313600000,10.5144],[1328400000000,10.5144],[1328486400000,10.5144],[1328572800000,10.4202],[1328659200000,10.4769],[1328745600000,10.6058],[1328832000000,10.617],[1328918400000,10.5379],[1329004800000,10.5379],[1329091200000,10.5379],[1329177600000,10.5869],[1329264000000,10.5195],[1329350400000,10.458],[1329436800000,10.3694],[1329523200000,10.5118],[1329609600000,10.5118],[1329696000000,10.5118],[1329782400000,10.5962],[1329868800000,10.5609],[1329955200000,10.5669],[1330041600000,10.6227],[1330128000000,10.7119],[1330214400000,10.7119],[1330300800000,10.7119],[1330387200000,10.6926],[1330473600000,10.7453],[1330560000000,10.7365],[1330646400000,10.6319],[1330732800000,10.5577],[1330819200000,10.5577],[1330905600000,10.5577],[1330992000000,10.5601],[1331078400000,10.5066],[1331164800000,10.4796],[1331251200000,10.4796],[1331337600000,10.4796],[1331424000000,10.4796],[1331510400000,10.4796],[1331596800000,10.4768],[1331683200000,10.426],[1331769600000,10.4287],[1331856000000,10.4247],[1331942400000,10.4731],[1332028800000,10.4731],[1332115200000,10.4731],[1332201600000,10.5003],[1332288000000,10.5386],[1332374400000,10.5602],[1332460800000,10.5148],[1332547200000,10.5747],[1332633600000,10.5747],[1332720000000,10.5747],[1332806400000,10.6022],[1332892800000,10.6473],[1332979200000,10.6505],[1333065600000,10.5999],[1333152000000,10.6686],[1333238400000,10.6686],[1333324800000,10.6686],[1333411200000,10.6391],[1333497600000,10.6359],[1333584000000,10.4977],[1333670400000,10.4381],[1333756800000,10.4381],[1333843200000,null],[1333929600000,10.4381],[1334016000000,10.4348],[1334102400000,10.4715],[1334188800000,10.4851],[1334275200000,10.5027],[1334361600000,10.4987],[1334448000000,10.4987],[1334534400000,10.4987],[1334620800000,10.4987],[1334707200000,10.4859],[1334793600000,10.4548],[1334880000000,10.4501],[1334966400000,10.5347],[1335052800000,10.5347],[1335139200000,10.5347],[1335225600000,10.4886],[1335312000000,10.5126],[1335398400000,10.5486],[1335484800000,10.5557],[1335571200000,10.5698],[1335657600000,10.5698],[1335744000000,10.5698],[1335830400000,10.5698],[1335916800000,10.5698],[1336003200000,10.5698],[1336089600000,10.4851],[1336176000000,10.4923],[1336262400000,10.4923],[1336348800000,10.4923],[1336435200000,10.4117],[1336521600000,10.4055],[1336608000000,10.4055],[1336694400000,10.3558],[1336780800000,10.3423],[1336867200000,10.3423],[1336953600000,10.3423],[1337040000000,10.2775],[1337126400000,10.2616],[1337212800000,10.1777],[1337299200000,10.1342],[1337385600000,10.166],[1337472000000,10.166],[1337558400000,10.166],[1337644800000,10.1892],[1337731200000,10.2048],[1337817600000,10.1177],[1337904000000,10.0362],[1337990400000,10.0274],[1338076800000,10.0274],[1338163200000,10.0274],[1338249600000,10.0434],[1338336000000,10.009],[1338422400000,9.94107],[1338508800000,9.9131],[1338595200000,9.84836],[1338681600000,9.84836],[1338768000000,9.84836],[1338854400000,9.84836],[1338940800000,9.93388],[1339027200000,9.97864],[1339113600000,10.0666],[1339200000000,9.96505],[1339286400000,9.96505],[1339372800000,9.96505],[1339459200000,10.0258],[1339545600000,9.98423],[1339632000000,9.93388],[1339718400000,10.0314],[1339804800000,10.0674],[1339891200000,10.0674],[1339977600000,10.0674],[1340064000000,10.0849],[1340150400000,10.0857],[1340236800000,10.1537],[1340323200000,10.1265],[1340409600000,10.0218],[1340496000000,10.0218],[1340582400000,10.0218],[1340668800000,9.98103],[1340755200000,9.97064],[1340841600000,9.97304],[1340928000000,9.97304],[1341014400000,9.97304],[1341100800000,9.97304],[1341187200000,9.97304],[1341273600000,10.065],[1341360000000,10.0506],[1341446400000,10.0386],[1341532800000,9.93148],[1341619200000,9.89232],[1341705600000,9.89294],[1341792000000,9.89294],[1341878400000,9.82579],[1341964800000,9.8194],[1342051200000,9.79942],[1342137600000,9.73387],[1342224000000,9.73947],[1342310400000,9.73947],[1342396800000,9.73947],[1342483200000,9.73308],[1342569600000,9.8162],[1342656000000,9.77864],[1342742400000,9.821],[1342828800000,9.75146],[1342915200000,9.75146],[1343001600000,9.75146],[1343088000000,9.67553],[1343174400000,9.66274],[1343260800000,9.69871],[1343347200000,9.79942],[1343433600000,9.84498],[1343520000000,9.84498],[1343606400000,9.84498],[1343692800000,9.78823],[1343779200000,9.8186],[1343865600000,9.82979],[1343952000000,9.86816],[1344038400000,9.78743],[1344124800000,9.78743],[1344211200000,9.78743],[1344297600000,9.89453],[1344384000000,9.94009],[1344470400000,9.86017],[1344556800000,9.83219],[1344643200000,9.80102],[1344729600000,9.80102],[1344816000000,9.80102],[1344902400000,9.86256],[1344988800000,9.87295],[1345075200000,9.81221],[1345161600000,9.81461],[1345248000000,9.86096],[1345334400000,9.86096],[1345420800000,9.86096],[1345507200000,9.83139],[1345593600000,9.9337],[1345680000000,9.94969],[1345766400000,10.0328],[1345852800000,10.0328],[1345939200000,10.0328],[1346025600000,10.0328],[1346112000000,10.0152],[1346198400000,10.0296],[1346284800000,10.0272],[1346371200000,10.0264],[1346457600000,10.08],[1346544000000,10.08],[1346630400000,10.08],[1346716800000,10.0456],[1346803200000,10.0544],[1346889600000,10.0536],[1346976000000,10.1016],[1347062400000,10.1559],[1347148800000,10.1559],[1347235200000,10.1559],[1347321600000,10.2119],[1347408000000,10.2206],[1347494400000,10.3078],[1347580800000,10.319],[1347667200000,10.4668],[1347753600000,10.4668],[1347840000000,10.4668],[1347926400000,10.4596],[1348012800000,10.4341],[1348099200000,10.3925],[1348185600000,10.3541],[1348272000000,10.3813],[1348358400000,10.3813],[1348444800000,10.3813],[1348531200000,10.3238],[1348617600000,10.3365],[1348704000000,10.267],[1348790400000,10.2902],[1348876800000,10.3349],[1348963200000,10.3349],[1349049600000,10.3349],[1349136000000,10.2926],[1349222400000,10.3349],[1349308800000,10.3142],[1349395200000,10.3517],[1349481600000,10.3925],[1349568000000,10.3925],[1349654400000,10.3925],[1349740800000,10.3573],[1349827200000,10.3533],[1349913600000,10.3022],[1350000000000,10.3254],[1350086400000,10.3669],[1350172800000,10.3669],[1350259200000,10.3669],[1350345600000,10.3677],[1350432000000,10.4277],[1350518400000,10.4868],[1350604800000,10.4852],[1350691200000,10.4189],[1350777600000,10.4189],[1350864000000,10.4189],[1350950400000,10.4413],[1351036800000,10.3949],[1351123200000,10.3445],[1351209600000,10.3853],[1351296000000,10.3174],[1351382400000,10.3174],[1351468800000,10.3174],[1351555200000,10.3094],[1351641600000,10.3605],[1351728000000,10.3853],[1351814400000,10.3709],[1351900800000,10.271],[1351987200000,10.271],[1352073600000,10.271],[1352160000000,10.2127],[1352246400000,10.231],[1352332800000,10.1879],[1352419200000,10.1799],[1352505600000,10.1463],[1352592000000,10.1463],[1352678400000,10.1463],[1352764800000,10.1791],[1352851200000,10.1479],[1352937600000,10.1719],[1353024000000,10.1959],[1353110400000,10.1871],[1353196800000,10.1871],[1353283200000,10.1871],[1353369600000,10.2007],[1353456000000,10.2382],[1353542400000,10.235],[1353628800000,10.3054],[1353715200000,10.3182],[1353801600000,10.3182],[1353888000000,10.3182],[1353974400000,10.3621],[1354060800000,10.3597],[1354147200000,10.3038],[1354233600000,10.3861],[1354320000000,10.3797],[1354406400000,10.3797],[1354492800000,10.3797],[1354579200000,10.4365],[1354665600000,10.4644],[1354752000000,10.4429],[1354838400000,10.4484],[1354924800000,10.315],[1355011200000,10.315],[1355097600000,10.315],[1355184000000,10.3349],[1355270400000,10.3853],[1355356800000,10.4229],[1355443200000,10.4524],[1355529600000,10.4556],[1355616000000,10.4556],[1355702400000,10.4556],[1355788800000,10.5188],[1355875200000,10.5332],[1355961600000,10.6323],[1356048000000,10.5875],[1356134400000,10.558],[1356220800000,10.558],[1356307200000,10.558],[1356393600000,10.5651],[1356480000000,10.5651],[1356566400000,10.5651],[1356652800000,10.6035],[1356739200000,10.5372],[1356825600000,10.5372]], 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, 10.390326],[1326585600000, 10.390326],[1329264000000, 10.557993],[1331769600000, 10.538338],[1334448000000, 10.521483],[1337040000000, 10.266111],[1339718400000, 9.991504],[1342310400000, 9.828052],[1344988800000, 9.893503],[1347667200000, 10.269806],[1350259200000, 10.369577],[1352937600000, 10.247373],[1355529600000, 10.474027]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });