$(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: 'Курс PLN, грн'}, 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: 'Курс PLN', data: [[1356998400000,2.58207],[1357084800000,2.58207],[1357171200000,2.58207],[1357257600000,2.5615],[1357344000000,2.52654],[1357430400000,2.52654],[1357516800000,2.52654],[1357603200000,2.52654],[1357689600000,2.53598],[1357776000000,2.53971],[1357862400000,2.5634],[1357948800000,2.58778],[1358035200000,2.58778],[1358121600000,2.58778],[1358208000000,2.58822],[1358294400000,2.5855],[1358380800000,2.56882],[1358467200000,2.59327],[1358553600000,2.56902],[1358640000000,2.56902],[1358726400000,2.56902],[1358812800000,2.5538],[1358899200000,2.55032],[1358985600000,2.55888],[1359072000000,2.54596],[1359158400000,2.57746],[1359244800000,2.57746],[1359331200000,2.57746],[1359417600000,2.55919],[1359504000000,2.55096],[1359590400000,2.57772],[1359676800000,2.58208],[1359763200000,2.60951],[1359849600000,2.60951],[1359936000000,2.60951],[1360022400000,2.60137],[1360108800000,2.58762],[1360195200000,2.58052],[1360281600000,2.58501],[1360368000000,2.57017],[1360454400000,2.57017],[1360540800000,2.57017],[1360627200000,2.57684],[1360713600000,2.57208],[1360800000000,2.58271],[1360886400000,2.55053],[1360972800000,2.54156],[1361059200000,2.54156],[1361145600000,2.54156],[1361232000000,2.54762],[1361318400000,2.56001],[1361404800000,2.57082],[1361491200000,2.52535],[1361577600000,2.53727],[1361664000000,2.53727],[1361750400000,2.53727],[1361836800000,2.56424],[1361923200000,2.50791],[1362009600000,2.51355],[1362096000000,2.52776],[1362182400000,2.50522],[1362268800000,2.50522],[1362355200000,2.50522],[1362441600000,2.51135],[1362528000000,2.52193],[1362614400000,2.51087],[1362700800000,2.50503],[1362787200000,2.50503],[1362873600000,2.50503],[1362960000000,2.50503],[1363046400000,2.50436],[1363132800000,2.51707],[1363219200000,2.50712],[1363305600000,2.48876],[1363392000000,2.52009],[1363478400000,2.52009],[1363564800000,2.52009],[1363651200000,2.48626],[1363737600000,2.49017],[1363824000000,2.48671],[1363910400000,2.467],[1363996800000,2.47574],[1364083200000,2.47574],[1364169600000,2.47574],[1364256000000,2.4849],[1364342400000,2.46075],[1364428800000,2.44045],[1364515200000,2.44834],[1364601600000,2.44834],[1364688000000,2.44834],[1364774400000,2.44834],[1364860800000,2.44834],[1364947200000,2.45257],[1365033600000,2.44665],[1365120000000,2.44597],[1365206400000,2.47883],[1365292800000,2.47883],[1365379200000,2.47883],[1365465600000,2.52145],[1365552000000,2.52345],[1365638400000,2.54121],[1365724800000,2.54985],[1365811200000,2.54202],[1365897600000,2.54202],[1365984000000,2.54202],[1366070400000,2.54197],[1366156800000,2.5495],[1366243200000,2.5505],[1366329600000,2.53405],[1366416000000,2.5566],[1366502400000,2.5566],[1366588800000,2.5566],[1366675200000,2.53669],[1366761600000,2.51147],[1366848000000,2.51304],[1366934400000,2.52124],[1367020800000,2.49822],[1367107200000,2.49822],[1367193600000,2.49822],[1367280000000,2.53727],[1367366400000,2.51746],[1367452800000,2.51746],[1367539200000,2.51746],[1367625600000,2.51746],[1367712000000,2.51746],[1367798400000,2.51746],[1367884800000,2.51746],[1367971200000,2.52322],[1368057600000,2.53834],[1368144000000,2.53834],[1368230400000,2.53834],[1368316800000,2.53834],[1368403200000,2.53834],[1368489600000,2.49532],[1368576000000,2.4895],[1368662400000,2.45827],[1368748800000,2.46324],[1368835200000,2.46648],[1368921600000,2.46648],[1369008000000,2.46648],[1369094400000,2.45652],[1369180800000,2.45448],[1369267200000,2.47208],[1369353600000,2.44735],[1369440000000,2.46347],[1369526400000,2.46347],[1369612800000,2.46347],[1369699200000,2.46623],[1369785600000,2.47371],[1369872000000,2.4503],[1369958400000,2.42486],[1370044800000,2.42936],[1370131200000,2.42936],[1370217600000,2.42936],[1370304000000,2.4369],[1370390400000,2.47007],[1370476800000,2.4603],[1370563200000,2.45217],[1370649600000,2.4615],[1370736000000,2.4615],[1370822400000,2.4615],[1370908800000,2.48236],[1370995200000,2.4794],[1371081600000,2.49513],[1371168000000,2.49565],[1371254400000,2.51094],[1371340800000,2.51094],[1371427200000,2.51094],[1371513600000,2.5204],[1371600000000,2.51206],[1371686400000,2.51547],[1371772800000,2.44327],[1371859200000,2.43359],[1371945600000,2.43359],[1372032000000,2.43359],[1372118400000,2.43359],[1372204800000,2.43066],[1372291200000,2.39615],[1372377600000,2.41105],[1372464000000,2.41105],[1372550400000,2.41105],[1372636800000,2.41105],[1372723200000,2.40496],[1372809600000,2.40128],[1372896000000,2.38859],[1372982400000,2.40887],[1373068800000,2.40329],[1373155200000,2.40329],[1373241600000,2.40329],[1373328000000,2.39088],[1373414400000,2.37538],[1373500800000,2.36386],[1373587200000,2.40515],[1373673600000,2.41198],[1373760000000,2.41198],[1373846400000,2.41198],[1373932800000,2.4269],[1374019200000,2.46363],[1374105600000,2.46412],[1374192000000,2.46299],[1374278400000,2.46991],[1374364800000,2.46991],[1374451200000,null],[1374537600000,2.49522],[1374624000000,2.49953],[1374710400000,2.51635],[1374796800000,2.48683],[1374883200000,2.50117],[1374969600000,2.50117],[1375056000000,2.50117],[1375142400000,2.50785],[1375228800000,2.51299],[1375315200000,2.5043],[1375401600000,2.49836],[1375488000000,2.48018],[1375574400000,null],[1375660800000,2.48018],[1375747200000,2.51145],[1375833600000,2.51867],[1375920000000,2.52186],[1376006400000,2.53855],[1376092800000,2.55248],[1376179200000,2.55248],[1376265600000,2.55248],[1376352000000,2.53407],[1376438400000,2.53446],[1376524800000,2.51805],[1376611200000,2.52682],[1376697600000,2.52186],[1376784000000,2.52186],[1376870400000,2.52186],[1376956800000,2.50944],[1377043200000,2.53253],[1377129600000,2.5229],[1377216000000,2.51063],[1377302400000,2.52219],[1377388800000,2.52219],[1377475200000,2.52219],[1377561600000,2.52219],[1377648000000,2.51085],[1377734400000,2.48503],[1377820800000,2.47601],[1377907200000,2.48135],[1377993600000,2.48135],[1378080000000,2.48135],[1378166400000,2.48105],[1378252800000,2.46526],[1378339200000,2.46761],[1378425600000,2.46165],[1378512000000,2.44108],[1378598400000,2.44108],[1378684800000,2.44108],[1378771200000,2.46805],[1378857600000,2.4845],[1378944000000,2.50516],[1379030400000,2.52135],[1379116800000,2.52296],[1379203200000,2.52296],[1379289600000,2.52296],[1379376000000,2.54536],[1379462400000,2.52925],[1379548800000,2.52132],[1379635200000,2.58834],[1379721600000,2.55372],[1379808000000,2.55372],[1379894400000,2.55372],[1379980800000,2.55458],[1380067200000,2.54772],[1380153600000,2.55988],[1380240000000,2.55198],[1380326400000,2.55916],[1380412800000,2.55916],[1380499200000,2.55916],[1380585600000,2.55263],[1380672000000,2.56068],[1380758400000,2.56045],[1380844800000,2.58381],[1380931200000,2.58411],[1381017600000,2.58411],[1381104000000,2.58411],[1381190400000,2.5859],[1381276800000,2.58789],[1381363200000,2.57234],[1381449600000,2.57234],[1381536000000,2.58593],[1381622400000,2.58593],[1381708800000,2.58593],[1381795200000,2.59197],[1381881600000,2.57945],[1381968000000,2.59531],[1382054400000,2.61595],[1382140800000,2.61616],[1382227200000,2.61616],[1382313600000,2.61616],[1382400000000,2.61191],[1382486400000,2.61349],[1382572800000,2.63073],[1382659200000,2.63595],[1382745600000,2.63079],[1382832000000,2.63079],[1382918400000,2.63079],[1383004800000,2.63231],[1383091200000,2.63033],[1383177600000,2.63017],[1383264000000,2.60949],[1383350400000,null],[1383436800000,2.5778],[1383523200000,2.5778],[1383609600000,2.58398],[1383696000000,2.5802],[1383782400000,2.59235],[1383868800000,2.56652],[1383955200000,2.56822],[1384041600000,2.56822],[1384128000000,2.56822],[1384214400000,2.54628],[1384300800000,2.55411],[1384387200000,2.55179],[1384473600000,2.56586],[1384560000000,2.57204],[1384646400000,2.57204],[1384732800000,2.57204],[1384819200000,2.58745],[1384905600000,2.58006],[1384992000000,2.5825],[1385078400000,2.56856],[1385164800000,2.57395],[1385251200000,2.57395],[1385337600000,2.57395],[1385424000000,2.577],[1385510400000,2.57892],[1385596800000,2.58523],[1385683200000,2.59026],[1385769600000,2.58661],[1385856000000,2.58661],[1385942400000,2.58661],[1386028800000,2.58045],[1386115200000,2.58205],[1386201600000,2.58773],[1386288000000,2.59361],[1386374400000,2.60366],[1386460800000,2.60366],[1386547200000,2.60366],[1386633600000,2.61972],[1386720000000,2.62771],[1386806400000,2.63058],[1386892800000,2.63261],[1386979200000,2.62513],[1387065600000,2.62513],[1387152000000,2.62513],[1387238400000,2.6369],[1387324800000,2.62971],[1387411200000,2.63015],[1387497600000,2.61722],[1387584000000,2.62032],[1387670400000,2.62032],[1387756800000,2.62032],[1387843200000,2.63288],[1387929600000,2.64053],[1388016000000,2.64053],[1388102400000,2.64053],[1388188800000,2.65965],[1388275200000,2.65965],[1388361600000,2.65965]], 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: [[1358208000000, 2.564140],[1358208000000, 2.564140],[1360886400000, 2.563706],[1363305600000, 2.492702],[1365984000000, 2.513353],[1368576000000, 2.489639],[1371254400000, 2.458763],[1373846400000, 2.442520],[1376524800000, 2.516915],[1379203200000, 2.514884],[1381795200000, 2.599824],[1384473600000, 2.575358],[1387065600000, 2.622003]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });