$(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: 'Курс SEK, грн'}, 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: 'Курс SEK', data: [[1326758400000,1.1563],[1326844800000,null],[1326931200000,null],[1327017600000,1.17752],[1327104000000,1.17403],[1327190400000,1.17403],[1327276800000,1.17403],[1327363200000,1.18467],[1327449600000,1.18139],[1327536000000,1.16833],[1327622400000,1.18306],[1327708800000,1.1805],[1327795200000,1.1805],[1327881600000,1.1805],[1327968000000,1.17696],[1328054400000,1.18327],[1328140800000,1.18413],[1328227200000,1.18125],[1328313600000,1.18834],[1328400000000,1.18834],[1328486400000,1.18834],[1328572800000,1.18377],[1328659200000,1.18765],[1328745600000,1.20131],[1328832000000,1.20586],[1328918400000,1.1966],[1329004800000,1.1966],[1329091200000,1.1966],[1329177600000,1.20172],[1329264000000,1.19793],[1329350400000,1.19029],[1329436800000,1.17747],[1329523200000,1.19025],[1329609600000,1.19025],[1329696000000,1.19025],[1329782400000,1.20261],[1329868800000,1.19865],[1329955200000,1.1997],[1330041600000,1.20473],[1330128000000,1.21416],[1330214400000,1.21416],[1330300800000,1.21416],[1330387200000,1.21047],[1330473600000,1.21725],[1330560000000,1.21884],[1330646400000,1.20632],[1330732800000,1.19545],[1330819200000,1.19545],[1330905600000,1.19545],[1330992000000,1.19483],[1331078400000,1.18177],[1331164800000,1.17432],[1331251200000,1.17432],[1331337600000,1.17432],[1331424000000,1.17432],[1331510400000,1.17432],[1331596800000,1.17306],[1331683200000,1.17292],[1331769600000,1.17401],[1331856000000,1.16921],[1331942400000,1.1826],[1332028800000,1.1826],[1332115200000,1.1826],[1332201600000,1.18286],[1332288000000,1.18252],[1332374400000,1.18407],[1332460800000,1.17793],[1332547200000,1.18497],[1332633600000,1.18497],[1332720000000,1.18497],[1332806400000,1.18756],[1332892800000,1.1972],[1332979200000,1.19938],[1333065600000,1.19841],[1333152000000,1.20611],[1333238400000,1.20611],[1333324800000,1.20611],[1333411200000,1.20827],[1333497600000,1.20948],[1333584000000,1.19042],[1333670400000,1.18434],[1333756800000,1.18434],[1333843200000,null],[1333929600000,1.18434],[1334016000000,1.18397],[1334102400000,1.18016],[1334188800000,1.17718],[1334275200000,1.18124],[1334361600000,1.18036],[1334448000000,1.18036],[1334534400000,1.18036],[1334620800000,1.18036],[1334707200000,1.18055],[1334793600000,1.18133],[1334880000000,1.18192],[1334966400000,1.19177],[1335052800000,1.19177],[1335139200000,1.19177],[1335225600000,1.18358],[1335312000000,1.18279],[1335398400000,1.18579],[1335484800000,1.18925],[1335571200000,1.1873],[1335657600000,1.1873],[1335744000000,1.1873],[1335830400000,1.1873],[1335916800000,1.1873],[1336003200000,1.1873],[1336089600000,1.18192],[1336176000000,1.17837],[1336262400000,1.17837],[1336348800000,1.17837],[1336435200000,1.16847],[1336521600000,1.17067],[1336608000000,1.17067],[1336694400000,1.15775],[1336780800000,1.15119],[1336867200000,1.15119],[1336953600000,1.15119],[1337040000000,1.14169],[1337126400000,1.13466],[1337212800000,1.11879],[1337299200000,1.10931],[1337385600000,1.11719],[1337472000000,1.11719],[1337558400000,1.11719],[1337644800000,1.11734],[1337731200000,1.12277],[1337817600000,1.11668],[1337904000000,1.11811],[1337990400000,1.11502],[1338076800000,1.11502],[1338163200000,1.11502],[1338249600000,1.11615],[1338336000000,1.11378],[1338422400000,1.11005],[1338508800000,1.1045],[1338595200000,1.09491],[1338681600000,1.09491],[1338768000000,1.09491],[1338854400000,1.09491],[1338940800000,1.10758],[1339027200000,1.10671],[1339113600000,1.1227],[1339200000000,1.10993],[1339286400000,1.10993],[1339372800000,1.10993],[1339459200000,1.13107],[1339545600000,1.12638],[1339632000000,1.10758],[1339718400000,1.13512],[1339804800000,1.13945],[1339891200000,1.13945],[1339977600000,1.13945],[1340064000000,1.14068],[1340150400000,1.14095],[1340236800000,1.14816],[1340323200000,1.14605],[1340409600000,1.13874],[1340496000000,1.13874],[1340582400000,1.13874],[1340668800000,1.13209],[1340755200000,1.13041],[1340841600000,1.13019],[1340928000000,1.13019],[1341014400000,1.13019],[1341100800000,1.13019],[1341187200000,1.13019],[1341273600000,1.15107],[1341360000000,1.1512],[1341446400000,1.15551],[1341532800000,1.15245],[1341619200000,1.14262],[1341705600000,1.14269],[1341792000000,1.14269],[1341878400000,1.13955],[1341964800000,1.14533],[1342051200000,1.14769],[1342137600000,1.13438],[1342224000000,1.13585],[1342310400000,1.13585],[1342396800000,1.13585],[1342483200000,1.12932],[1342569600000,1.14081],[1342656000000,1.15142],[1342742400000,1.1548],[1342828800000,1.15347],[1342915200000,1.15347],[1343001600000,1.15347],[1343088000000,1.14492],[1343174400000,1.14739],[1343260800000,1.14653],[1343347200000,1.15963],[1343433600000,1.15812],[1343520000000,1.15812],[1343606400000,1.15812],[1343692800000,1.17241],[1343779200000,1.17461],[1343865600000,1.18162],[1343952000000,1.18408],[1344038400000,1.1821],[1344124800000,1.1821],[1344211200000,1.1821],[1344297600000,1.18638],[1344384000000,1.19444],[1344470400000,1.19127],[1344556800000,1.18934],[1344643200000,1.19413],[1344729600000,1.19413],[1344816000000,1.19413],[1344902400000,1.19819],[1344988800000,1.19697],[1345075200000,1.19297],[1345161600000,1.19186],[1345248000000,1.19143],[1345334400000,1.19143],[1345420800000,1.19143],[1345507200000,1.19401],[1345593600000,1.2027],[1345680000000,1.19284],[1345766400000,1.20751],[1345852800000,1.20751],[1345939200000,1.20751],[1346025600000,1.20751],[1346112000000,1.21548],[1346198400000,1.21711],[1346284800000,1.20267],[1346371200000,1.20108],[1346457600000,1.20918],[1346544000000,1.20918],[1346630400000,1.20918],[1346716800000,1.19362],[1346803200000,1.19588],[1346889600000,1.19097],[1346976000000,1.18806],[1347062400000,1.19671],[1347148800000,1.19671],[1347235200000,1.19671],[1347321600000,1.20231],[1347408000000,1.20565],[1347494400000,1.21647],[1347580800000,1.21274],[1347667200000,1.21872],[1347753600000,1.21872],[1347840000000,1.21872],[1347926400000,1.21281],[1348012800000,1.21772],[1348099200000,1.21958],[1348185600000,1.21978],[1348272000000,1.22196],[1348358400000,1.22196],[1348444800000,1.22196],[1348531200000,1.21559],[1348617600000,1.22001],[1348704000000,1.20791],[1348790400000,1.21777],[1348876800000,1.2231],[1348963200000,1.2231],[1349049600000,1.2231],[1349136000000,1.21474],[1349222400000,1.21123],[1349308800000,1.19807],[1349395200000,1.20231],[1349481600000,1.21226],[1349568000000,1.21226],[1349654400000,1.21226],[1349740800000,1.20354],[1349827200000,1.20224],[1349913600000,1.19698],[1350000000000,1.19193],[1350086400000,1.19393],[1350172800000,1.19393],[1350259200000,1.19393],[1350345600000,1.19732],[1350432000000,1.20867],[1350518400000,1.21113],[1350604800000,1.22144],[1350691200000,1.2155],[1350777600000,1.2155],[1350864000000,1.2155],[1350950400000,1.21517],[1351036800000,1.20627],[1351123200000,1.1951],[1351209600000,1.19532],[1351296000000,1.1896],[1351382400000,1.1896],[1351468800000,1.1896],[1351555200000,1.19572],[1351641600000,1.20254],[1351728000000,1.20759],[1351814400000,1.20036],[1351900800000,1.19493],[1351987200000,1.19493],[1352073600000,1.19493],[1352160000000,1.19181],[1352246400000,1.19353],[1352332800000,1.19091],[1352419200000,1.19616],[1352505600000,1.18331],[1352592000000,1.18331],[1352678400000,1.18331],[1352764800000,1.18625],[1352851200000,1.17893],[1352937600000,1.17921],[1353024000000,1.17899],[1353110400000,1.17779],[1353196800000,1.17779],[1353283200000,1.17779],[1353369600000,1.18037],[1353456000000,1.18412],[1353542400000,1.18708],[1353628800000,1.19739],[1353715200000,1.20148],[1353801600000,1.20148],[1353888000000,1.20148],[1353974400000,1.20823],[1354060800000,1.19877],[1354147200000,1.19569],[1354233600000,1.2025],[1354320000000,1.19823],[1354406400000,1.19823],[1354492800000,1.19823],[1354579200000,1.20572],[1354665600000,1.21306],[1354752000000,1.20713],[1354838400000,1.2108],[1354924800000,1.19691],[1355011200000,1.19691],[1355097600000,1.19691],[1355184000000,1.19706],[1355270400000,1.20132],[1355356800000,1.2081],[1355443200000,1.19847],[1355529600000,1.19162],[1355616000000,1.19162],[1355702400000,1.19162],[1355788800000,1.2016],[1355875200000,1.20547],[1355961600000,1.22687],[1356048000000,1.22613],[1356134400000,1.22846],[1356220800000,1.22846],[1356307200000,1.22846],[1356393600000,1.22391],[1356480000000,1.22391],[1356566400000,1.22391],[1356652800000,1.22907],[1356739200000,1.23076],[1356825600000,1.23076]], 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.176294],[1326585600000, 1.176294],[1329264000000, 1.196418],[1331769600000, 1.186054],[1334448000000, 1.187579],[1337040000000, 1.142454],[1339718400000, 1.123817],[1342310400000, 1.146940],[1344988800000, 1.194859],[1347667200000, 1.210760],[1350259200000, 1.204087],[1352937600000, 1.191014],[1355529600000, 1.210983]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });