$(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: [[1326758400000,2.33859],[1326844800000,null],[1326931200000,null],[1327017600000,2.38512],[1327104000000,2.38643],[1327190400000,2.38643],[1327276800000,2.38643],[1327363200000,2.42698],[1327449600000,2.41698],[1327536000000,2.40665],[1327622400000,2.47294],[1327708800000,2.48832],[1327795200000,2.48832],[1327881600000,2.48832],[1327968000000,2.46198],[1328054400000,2.49207],[1328140800000,2.50599],[1328227200000,2.49106],[1328313600000,2.5075],[1328400000000,2.5075],[1328486400000,2.5075],[1328572800000,2.49465],[1328659200000,2.50745],[1328745600000,2.53891],[1328832000000,2.5296],[1328918400000,2.49784],[1329004800000,2.49784],[1329091200000,2.49784],[1329177600000,2.52418],[1329264000000,2.51003],[1329350400000,2.49744],[1329436800000,2.44792],[1329523200000,2.51382],[1329609600000,2.51382],[1329696000000,2.51382],[1329782400000,2.54228],[1329868800000,2.52431],[1329955200000,2.52399],[1330041600000,2.54114],[1330128000000,2.57096],[1330214400000,2.57096],[1330300800000,2.57096],[1330387200000,2.56184],[1330473600000,2.59486],[1330560000000,2.60519],[1330646400000,2.58357],[1330732800000,2.57042],[1330819200000,2.57042],[1330905600000,2.57042],[1330992000000,2.55941],[1331078400000,2.53202],[1331164800000,2.51647],[1331251200000,2.51647],[1331337600000,2.51647],[1331424000000,2.51647],[1331510400000,2.51647],[1331596800000,2.54942],[1331683200000,2.52795],[1331769600000,2.51022],[1331856000000,2.51847],[1331942400000,2.53587],[1332028800000,2.53587],[1332115200000,2.53587],[1332201600000,2.54521],[1332288000000,2.55357],[1332374400000,2.54309],[1332460800000,2.52486],[1332547200000,2.53699],[1332633600000,2.53699],[1332720000000,2.53699],[1332806400000,2.56241],[1332892800000,2.57387],[1332979200000,2.56219],[1333065600000,2.54733],[1333152000000,2.56939],[1333238400000,2.56939],[1333324800000,2.56939],[1333411200000,2.56704],[1333497600000,2.57173],[1333584000000,2.52664],[1333670400000,2.50271],[1333756800000,2.50271],[1333843200000,null],[1333929600000,2.50271],[1334016000000,2.50193],[1334102400000,2.5108],[1334188800000,2.5002],[1334275200000,2.51248],[1334361600000,2.51117],[1334448000000,2.51117],[1334534400000,2.51117],[1334620800000,2.51117],[1334707200000,2.5023],[1334793600000,2.5009],[1334880000000,2.49584],[1334966400000,2.51306],[1335052800000,2.51306],[1335139200000,2.51306],[1335225600000,2.49463],[1335312000000,2.50282],[1335398400000,2.52733],[1335484800000,2.52409],[1335571200000,2.5294],[1335657600000,2.5294],[1335744000000,2.5294],[1335830400000,2.5294],[1335916800000,2.5294],[1336003200000,2.5294],[1336089600000,2.51871],[1336176000000,2.50725],[1336262400000,2.50725],[1336348800000,2.50725],[1336435200000,2.48145],[1336521600000,2.48313],[1336608000000,2.48313],[1336694400000,2.44865],[1336780800000,2.43726],[1336867200000,2.43726],[1336953600000,2.43726],[1337040000000,2.38901],[1337126400000,2.37399],[1337212800000,2.33969],[1337299200000,2.33055],[1337385600000,2.34455],[1337472000000,2.34455],[1337558400000,2.34455],[1337644800000,2.35153],[1337731200000,2.35699],[1337817600000,2.31685],[1337904000000,2.30807],[1337990400000,2.30356],[1338076800000,2.30356],[1338163200000,2.30356],[1338249600000,2.31446],[1338336000000,2.29512],[1338422400000,2.26587],[1338508800000,2.25734],[1338595200000,2.23192],[1338681600000,2.23192],[1338768000000,2.23192],[1338854400000,2.23192],[1338940800000,2.26718],[1339027200000,2.29405],[1339113600000,2.35751],[1339200000000,2.31961],[1339286400000,2.31961],[1339372800000,2.31961],[1339459200000,2.33413],[1339545600000,2.30673],[1339632000000,2.26718],[1339718400000,2.32477],[1339804800000,2.34212],[1339891200000,2.34212],[1339977600000,2.34212],[1340064000000,2.35591],[1340150400000,2.37144],[1340236800000,2.39513],[1340323200000,2.38063],[1340409600000,2.35458],[1340496000000,2.35458],[1340582400000,2.35458],[1340668800000,2.34583],[1340755200000,2.34714],[1340841600000,2.34577],[1340928000000,2.34577],[1341014400000,2.34577],[1341100800000,2.34577],[1341187200000,2.34577],[1341273600000,2.38478],[1341360000000,2.38731],[1341446400000,2.38639],[1341532800000,2.36126],[1341619200000,2.34754],[1341705600000,2.34769],[1341792000000,2.34769],[1341878400000,2.32107],[1341964800000,2.33895],[1342051200000,2.35015],[1342137600000,2.31313],[1342224000000,2.3127],[1342310400000,2.3127],[1342396800000,2.3127],[1342483200000,2.32604],[1342569600000,2.35372],[1342656000000,2.33967],[1342742400000,2.36172],[1342828800000,2.34264],[1342915200000,2.34264],[1343001600000,2.34264],[1343088000000,2.30545],[1343174400000,2.29339],[1343260800000,2.31274],[1343347200000,2.36096],[1343433600000,2.38522],[1343520000000,2.38522],[1343606400000,2.38522],[1343692800000,2.37538],[1343779200000,2.39186],[1343865600000,2.39412],[1343952000000,2.40505],[1344038400000,2.39348],[1344124800000,2.39348],[1344211200000,2.39348],[1344297600000,2.45248],[1344384000000,2.45398],[1344470400000,2.4105],[1344556800000,2.41708],[1344643200000,2.39277],[1344729600000,2.39277],[1344816000000,2.39277],[1344902400000,2.41611],[1344988800000,2.41789],[1345075200000,2.40054],[1345161600000,2.40725],[1345248000000,2.41655],[1345334400000,2.41655],[1345420800000,2.41655],[1345507200000,2.41575],[1345593600000,2.44528],[1345680000000,2.44098],[1345766400000,2.45854],[1345852800000,2.45854],[1345939200000,2.45854],[1346025600000,2.45854],[1346112000000,2.45592],[1346198400000,2.44553],[1346284800000,2.413],[1346371200000,2.38906],[1346457600000,2.4135],[1346544000000,2.4135],[1346630400000,2.4135],[1346716800000,2.39563],[1346803200000,2.39544],[1346889600000,2.3932],[1346976000000,2.42861],[1347062400000,2.46359],[1347148800000,2.46359],[1347235200000,2.46359],[1347321600000,2.48289],[1347408000000,2.48787],[1347494400000,2.51857],[1347580800000,2.5132],[1347667200000,2.57791],[1347753600000,2.57791],[1347840000000,2.57791],[1347926400000,2.54902],[1348012800000,2.53629],[1348099200000,2.51312],[1348185600000,2.48629],[1348272000000,2.51382],[1348358400000,2.51382],[1348444800000,2.51382],[1348531200000,2.48526],[1348617600000,2.49796],[1348704000000,2.47332],[1348790400000,2.48339],[1348876800000,2.51838],[1348963200000,2.51838],[1349049600000,2.51838],[1349136000000,2.5069],[1349222400000,2.51882],[1349308800000,2.52125],[1349395200000,2.53309],[1349481600000,2.55125],[1349568000000,2.55125],[1349654400000,2.55125],[1349740800000,2.53981],[1349827200000,2.53901],[1349913600000,2.5235],[1350000000000,2.52392],[1350086400000,2.52988],[1350172800000,2.52988],[1350259200000,2.52988],[1350345600000,2.53688],[1350432000000,2.54831],[1350518400000,2.55595],[1350604800000,2.55569],[1350691200000,2.53686],[1350777600000,2.53686],[1350864000000,2.53686],[1350950400000,2.54305],[1351036800000,2.51437],[1351123200000,2.50128],[1351209600000,2.50853],[1351296000000,2.48593],[1351382400000,2.48593],[1351468800000,2.48593],[1351555200000,2.48484],[1351641600000,2.5083],[1351728000000,2.50913],[1351814400000,2.51294],[1351900800000,2.49976],[1351987200000,2.49976],[1352073600000,2.49976],[1352160000000,2.47724],[1352246400000,2.48266],[1352332800000,2.47693],[1352419200000,2.44444],[1352505600000,2.43235],[1352592000000,2.43235],[1352678400000,2.43235],[1352764800000,2.44068],[1352851200000,2.4286],[1352937600000,2.43492],[1353024000000,2.45093],[1353110400000,2.44793],[1353196800000,2.44793],[1353283200000,2.44793],[1353369600000,2.46048],[1353456000000,2.48031],[1353542400000,2.48128],[1353628800000,2.50788],[1353715200000,2.50489],[1353801600000,2.50489],[1353888000000,2.50489],[1353974400000,2.52538],[1354060800000,2.53263],[1354147200000,2.50847],[1354233600000,2.53518],[1354320000000,2.52843],[1354406400000,2.52843],[1354492800000,2.52843],[1354579200000,2.5383],[1354665600000,2.53431],[1354752000000,2.5348],[1354838400000,2.52744],[1354924800000,2.49684],[1355011200000,2.49684],[1355097600000,2.49684],[1355184000000,2.50635],[1355270400000,2.53789],[1355356800000,2.54409],[1355443200000,2.55355],[1355529600000,2.55883],[1355616000000,2.55883],[1355702400000,2.55883],[1355788800000,2.57246],[1355875200000,2.57359],[1355961600000,2.61005],[1356048000000,2.59944],[1356134400000,2.5976],[1356220800000,2.5976],[1356307200000,2.5976],[1356393600000,2.58848],[1356480000000,2.58848],[1356566400000,2.58848],[1356652800000,2.60605],[1356739200000,2.58207],[1356825600000,2.58207]], 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.425654],[1326585600000, 2.425654],[1329264000000, 2.520623],[1331769600000, 2.544528],[1334448000000, 2.519230],[1337040000000, 2.400750],[1339718400000, 2.320629],[1342310400000, 2.346072],[1344988800000, 2.419837],[1347667200000, 2.486109],[1350259200000, 2.525600],[1352937600000, 2.478163],[1355529600000, 2.557907]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });