$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1326758400000,1.37438],[1326844800000,null],[1326931200000,null],[1327017600000,1.38729],[1327104000000,1.38625],[1327190400000,1.38625],[1327276800000,1.38625],[1327363200000,1.39868],[1327449600000,1.39729],[1327536000000,1.3909],[1327622400000,1.41272],[1327708800000,1.41285],[1327795200000,1.41285],[1327881600000,1.41285],[1327968000000,1.40898],[1328054400000,1.41598],[1328140800000,1.41604],[1328227200000,1.40737],[1328313600000,1.41451],[1328400000000,1.41451],[1328486400000,1.41451],[1328572800000,1.40165],[1328659200000,1.4094],[1328745600000,1.42689],[1328832000000,1.42855],[1328918400000,1.41787],[1329004800000,1.41787],[1329091200000,1.41787],[1329177600000,1.42433],[1329264000000,1.41519],[1329350400000,1.40708],[1329436800000,1.39503],[1329523200000,1.41413],[1329609600000,1.41413],[1329696000000,1.41413],[1329782400000,1.42539],[1329868800000,1.42028],[1329955200000,1.42099],[1330041600000,1.42828],[1330128000000,1.44051],[1330214400000,1.44051],[1330300800000,1.44051],[1330387200000,1.43795],[1330473600000,1.44514],[1330560000000,1.44393],[1330646400000,1.43006],[1330732800000,1.42008],[1330819200000,1.42008],[1330905600000,1.42008],[1330992000000,1.4205],[1331078400000,1.41324],[1331164800000,1.40959],[1331251200000,1.40959],[1331337600000,1.40959],[1331424000000,1.40959],[1331510400000,1.40959],[1331596800000,1.40916],[1331683200000,1.40233],[1331769600000,1.40267],[1331856000000,1.40215],[1331942400000,1.40851],[1332028800000,1.40851],[1332115200000,1.40851],[1332201600000,1.41216],[1332288000000,1.41737],[1332374400000,1.42026],[1332460800000,1.41406],[1332547200000,1.42219],[1332633600000,1.42219],[1332720000000,1.42219],[1332806400000,1.42587],[1332892800000,1.43192],[1332979200000,1.43227],[1333065600000,1.42526],[1333152000000,1.43398],[1333238400000,1.43398],[1333324800000,1.43398],[1333411200000,1.42985],[1333497600000,1.42948],[1333584000000,1.41104],[1333670400000,1.40302],[1333756800000,1.40302],[1333843200000,null],[1333929600000,1.40302],[1334016000000,1.40258],[1334102400000,1.40756],[1334188800000,1.40969],[1334275200000,1.41195],[1334361600000,1.41138],[1334448000000,1.41138],[1334534400000,1.41138],[1334620800000,1.41138],[1334707200000,1.40945],[1334793600000,1.40542],[1334880000000,1.40479],[1334966400000,1.41621],[1335052800000,1.41621],[1335139200000,1.41621],[1335225600000,1.40982],[1335312000000,1.41295],[1335398400000,1.41784],[1335484800000,1.41892],[1335571200000,1.42096],[1335657600000,1.42096],[1335744000000,1.42096],[1335830400000,1.42096],[1335916800000,1.42096],[1336003200000,1.42096],[1336089600000,1.40971],[1336176000000,1.41068],[1336262400000,1.41068],[1336348800000,1.41068],[1336435200000,1.40006],[1336521600000,1.39922],[1336608000000,1.39922],[1336694400000,1.39313],[1336780800000,1.39132],[1336867200000,1.39132],[1336953600000,1.39132],[1337040000000,1.38263],[1337126400000,1.38045],[1337212800000,1.36923],[1337299200000,1.36344],[1337385600000,1.3677],[1337472000000,1.3677],[1337558400000,1.3677],[1337644800000,1.37098],[1337731200000,1.37315],[1337817600000,1.36144],[1337904000000,1.35053],[1337990400000,1.3494],[1338076800000,1.3494],[1338163200000,1.3494],[1338249600000,1.35168],[1338336000000,1.34698],[1338422400000,1.33775],[1338508800000,1.33386],[1338595200000,1.32536],[1338681600000,1.32536],[1338768000000,1.32536],[1338854400000,1.32536],[1338940800000,1.33674],[1339027200000,1.3426],[1339113600000,1.35421],[1339200000000,1.34085],[1339286400000,1.34085],[1339372800000,1.34085],[1339459200000,1.34884],[1339545600000,1.34334],[1339632000000,1.33674],[1339718400000,1.3499],[1339804800000,1.35472],[1339891200000,1.35472],[1339977600000,1.35472],[1340064000000,1.35689],[1340150400000,1.35683],[1340236800000,1.36595],[1340323200000,1.36237],[1340409600000,1.34805],[1340496000000,1.34805],[1340582400000,1.34805],[1340668800000,1.34271],[1340755200000,1.34133],[1340841600000,1.3416],[1340928000000,1.3416],[1341014400000,1.3416],[1341100800000,1.3416],[1341187200000,1.3416],[1341273600000,1.35385],[1341360000000,1.35194],[1341446400000,1.34989],[1341532800000,1.33547],[1341619200000,1.32938],[1341705600000,1.32946],[1341792000000,1.32946],[1341878400000,1.3209],[1341964800000,1.32017],[1342051200000,1.31778],[1342137600000,1.30884],[1342224000000,1.30933],[1342310400000,1.30933],[1342396800000,1.30933],[1342483200000,1.30826],[1342569600000,1.31901],[1342656000000,1.31455],[1342742400000,1.32026],[1342828800000,1.31079],[1342915200000,1.31079],[1343001600000,1.31079],[1343088000000,1.30054],[1343174400000,1.29889],[1343260800000,1.30384],[1343347200000,1.31741],[1343433600000,1.32343],[1343520000000,1.32343],[1343606400000,1.32343],[1343692800000,1.31589],[1343779200000,1.31958],[1343865600000,1.32089],[1343952000000,1.32606],[1344038400000,1.31525],[1344124800000,1.31525],[1344211200000,1.31525],[1344297600000,1.32952],[1344384000000,1.33537],[1344470400000,1.32461],[1344556800000,1.3211],[1344643200000,1.31686],[1344729600000,1.31686],[1344816000000,1.31686],[1344902400000,1.32506],[1344988800000,1.3264],[1345075200000,1.31822],[1345161600000,1.31839],[1345248000000,1.32435],[1345334400000,1.32435],[1345420800000,1.32435],[1345507200000,1.32043],[1345593600000,1.33403],[1345680000000,1.33581],[1345766400000,1.34703],[1345852800000,1.34703],[1345939200000,1.34703],[1346025600000,1.34703],[1346112000000,1.34463],[1346198400000,1.34644],[1346284800000,1.3459],[1346371200000,1.34583],[1346457600000,1.35278],[1346544000000,1.35278],[1346630400000,1.35278],[1346716800000,1.34819],[1346803200000,1.3494],[1346889600000,1.34931],[1346976000000,1.35566],[1347062400000,1.36282],[1347148800000,1.36282],[1347235200000,1.36282],[1347321600000,1.37033],[1347408000000,1.37149],[1347494400000,1.38283],[1347580800000,1.38443],[1347667200000,1.40391],[1347753600000,1.40391],[1347840000000,1.40391],[1347926400000,1.403],[1348012800000,1.39981],[1348099200000,1.39412],[1348185600000,1.3889],[1348272000000,1.39255],[1348358400000,1.39255],[1348444800000,1.39255],[1348531200000,1.38457],[1348617600000,1.38625],[1348704000000,1.37699],[1348790400000,1.38012],[1348876800000,1.38622],[1348963200000,1.38622],[1349049600000,1.38622],[1349136000000,1.38055],[1349222400000,1.38624],[1349308800000,1.38323],[1349395200000,1.38845],[1349481600000,1.39392],[1349568000000,1.39392],[1349654400000,1.39392],[1349740800000,1.38896],[1349827200000,1.38831],[1349913600000,1.38132],[1350000000000,1.38432],[1350086400000,1.38987],[1350172800000,1.38987],[1350259200000,1.38987],[1350345600000,1.38994],[1350432000000,1.39792],[1350518400000,1.40589],[1350604800000,1.40566],[1350691200000,1.39682],[1350777600000,1.39682],[1350864000000,1.39682],[1350950400000,1.39986],[1351036800000,1.39368],[1351123200000,1.38682],[1351209600000,1.39236],[1351296000000,1.38317],[1351382400000,1.38317],[1351468800000,1.38317],[1351555200000,1.38201],[1351641600000,1.38887],[1351728000000,1.39217],[1351814400000,1.39026],[1351900800000,1.37688],[1351987200000,1.37688],[1352073600000,1.37688],[1352160000000,1.36919],[1352246400000,1.37142],[1352332800000,1.36578],[1352419200000,1.36476],[1352505600000,1.36048],[1352592000000,1.36048],[1352678400000,1.36048],[1352764800000,1.36491],[1352851200000,1.36082],[1352937600000,1.36387],[1353024000000,1.36698],[1353110400000,1.36583],[1353196800000,1.36583],[1353283200000,1.36583],[1353369600000,1.36767],[1353456000000,1.37275],[1353542400000,1.37247],[1353628800000,1.38184],[1353715200000,1.38352],[1353801600000,1.38352],[1353888000000,1.38352],[1353974400000,1.3894],[1354060800000,1.38906],[1354147200000,1.38135],[1354233600000,1.39217],[1354320000000,1.39138],[1354406400000,1.39138],[1354492800000,1.39138],[1354579200000,1.39895],[1354665600000,1.40266],[1354752000000,1.39986],[1354838400000,1.40075],[1354924800000,1.38289],[1355011200000,1.38289],[1355097600000,1.38289],[1355184000000,1.38555],[1355270400000,1.39226],[1355356800000,1.39709],[1355443200000,1.40094],[1355529600000,1.40132],[1355616000000,1.40132],[1355702400000,1.40132],[1355788800000,1.40978],[1355875200000,1.4119],[1355961600000,1.42509],[1356048000000,1.41901],[1356134400000,1.41505],[1356220800000,1.41505],[1356307200000,1.41505],[1356393600000,1.41594],[1356480000000,1.41594],[1356566400000,1.41594],[1356652800000,1.42134],[1356739200000,1.41241],[1356825600000,1.41241]], 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, 1.397506],[1326585600000, 1.397506],[1329264000000, 1.420227],[1331769600000, 1.417338],[1334448000000, 1.414323],[1337040000000, 1.380961],[1339718400000, 1.344314],[1342310400000, 1.321278],[1344988800000, 1.328896],[1347667200000, 1.377801],[1350259200000, 1.390385],[1352937600000, 1.373900],[1355529600000, 1.403940]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });