$(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: [[1356998400000,1.41241],[1357084800000,1.41241],[1357171200000,1.41241],[1357257600000,1.40383],[1357344000000,1.39434],[1357430400000,1.39434],[1357516800000,1.39434],[1357603200000,1.39434],[1357689600000,1.40204],[1357776000000,1.39877],[1357862400000,1.40486],[1357948800000,1.42203],[1358035200000,1.42203],[1358121600000,1.42203],[1358208000000,1.42892],[1358294400000,1.42744],[1358380800000,1.4221],[1358467200000,1.43181],[1358553600000,1.427],[1358640000000,1.427],[1358726400000,1.427],[1358812800000,1.42686],[1358899200000,1.42616],[1358985600000,1.42769],[1359072000000,1.42989],[1359158400000,1.44263],[1359244800000,1.44263],[1359331200000,1.44263],[1359417600000,1.44036],[1359504000000,1.43937],[1359590400000,1.45067],[1359676800000,1.45156],[1359763200000,1.46184],[1359849600000,1.46184],[1359936000000,1.46184],[1360022400000,1.45205],[1360108800000,1.45052],[1360195200000,1.44833],[1360281600000,1.45129],[1360368000000,1.4329],[1360454400000,1.4329],[1360540800000,1.4329],[1360627200000,1.43445],[1360713600000,1.43952],[1360800000000,1.444],[1360886400000,1.42784],[1360972800000,1.42792],[1361059200000,1.42792],[1361145600000,1.42792],[1361232000000,1.43067],[1361318400000,1.4303],[1361404800000,1.43245],[1361491200000,1.41289],[1361577600000,1.41289],[1361664000000,1.41289],[1361750400000,1.41289],[1361836800000,1.42519],[1361923200000,1.40134],[1362009600000,1.40392],[1362096000000,1.40746],[1362182400000,1.39359],[1362268800000,1.39359],[1362355200000,1.39359],[1362441600000,1.39447],[1362528000000,1.39733],[1362614400000,1.39746],[1362700800000,1.39496],[1362787200000,1.39496],[1362873600000,1.39496],[1362960000000,1.39496],[1363046400000,1.39282],[1363132800000,1.39899],[1363219200000,1.39141],[1363305600000,1.3866],[1363392000000,1.40245],[1363478400000,1.40245],[1363564800000,1.40245],[1363651200000,1.38626],[1363737600000,1.38772],[1363824000000,1.38826],[1363910400000,1.38452],[1363996800000,1.38867],[1364083200000,1.38867],[1364169600000,1.38867],[1364256000000,1.387],[1364342400000,1.37934],[1364428800000,1.36935],[1364515200000,1.37285],[1364601600000,1.37285],[1364688000000,1.37285],[1364774400000,1.37285],[1364860800000,1.37285],[1364947200000,1.3767],[1365033600000,1.37565],[1365120000000,1.3746],[1365206400000,1.38787],[1365292800000,1.38787],[1365379200000,1.38787],[1365465600000,1.39641],[1365552000000,1.39796],[1365638400000,1.40279],[1365724800000,1.40633],[1365811200000,1.39935],[1365897600000,1.39935],[1365984000000,1.39935],[1366070400000,1.40231],[1366156800000,1.40752],[1366243200000,1.40742],[1366329600000,1.39858],[1366416000000,1.40598],[1366502400000,1.40598],[1366588800000,1.40598],[1366675200000,1.3978],[1366761600000,1.39291],[1366848000000,1.3944],[1366934400000,1.40222],[1367020800000,1.39354],[1367107200000,1.39354],[1367193600000,1.39354],[1367280000000,1.40567],[1367366400000,1.40135],[1367452800000,1.40135],[1367539200000,1.40135],[1367625600000,1.40135],[1367712000000,1.40135],[1367798400000,1.40135],[1367884800000,1.40135],[1367971200000,1.40574],[1368057600000,1.40857],[1368144000000,1.40857],[1368230400000,1.40857],[1368316800000,1.40857],[1368403200000,1.40857],[1368489600000,1.39122],[1368576000000,1.3917],[1368662400000,1.37944],[1368748800000,1.38241],[1368835200000,1.38025],[1368921600000,1.38025],[1369008000000,1.38025],[1369094400000,1.37846],[1369180800000,1.37987],[1369267200000,1.38584],[1369353600000,1.38197],[1369440000000,1.38748],[1369526400000,1.38748],[1369612800000,1.38748],[1369699200000,1.38763],[1369785600000,1.3876],[1369872000000,1.38888],[1369958400000,1.38789],[1370044800000,1.39433],[1370131200000,1.39433],[1370217600000,1.39433],[1370304000000,1.39482],[1370390400000,1.40377],[1370476800000,1.40109],[1370563200000,1.40651],[1370649600000,1.42154],[1370736000000,1.42154],[1370822400000,1.42154],[1370908800000,1.41603],[1370995200000,1.42261],[1371081600000,1.42311],[1371168000000,1.42681],[1371254400000,1.42569],[1371340800000,1.42569],[1371427200000,1.42569],[1371513600000,1.42926],[1371600000000,1.43305],[1371686400000,1.43646],[1371772800000,1.41454],[1371859200000,1.41251],[1371945600000,1.41251],[1372032000000,1.41251],[1372118400000,1.41251],[1372204800000,1.40737],[1372291200000,1.39547],[1372377600000,1.39644],[1372464000000,1.39644],[1372550400000,1.39644],[1372636800000,1.39644],[1372723200000,1.39701],[1372809600000,1.39468],[1372896000000,1.3884],[1372982400000,1.39111],[1373068800000,1.38048],[1373155200000,1.38048],[1373241600000,1.38048],[1373328000000,1.37692],[1373414400000,1.3778],[1373500800000,1.37314],[1373587200000,1.3979],[1373673600000,1.39688],[1373760000000,1.39688],[1373846400000,1.39688],[1373932800000,1.39462],[1374019200000,1.40607],[1374105600000,1.40796],[1374192000000,1.40335],[1374278400000,1.40657],[1374364800000,1.40657],[1374451200000,null],[1374537600000,1.41107],[1374624000000,1.41241],[1374710400000,1.41956],[1374796800000,1.41513],[1374883200000,1.42145],[1374969600000,1.42145],[1375056000000,1.42145],[1375142400000,1.42257],[1375228800000,1.42429],[1375315200000,1.4234],[1375401600000,1.4191],[1375488000000,1.41564],[1375574400000,null],[1375660800000,1.41564],[1375747200000,1.42129],[1375833600000,1.42351],[1375920000000,1.42612],[1376006400000,1.43195],[1376092800000,1.43308],[1376179200000,1.43308],[1376265600000,1.43308],[1376352000000,1.42304],[1376438400000,1.42411],[1376524800000,1.41924],[1376611200000,1.42507],[1376697600000,1.42979],[1376784000000,1.42979],[1376870400000,1.42979],[1376956800000,1.4303],[1377043200000,1.43529],[1377129600000,1.43431],[1377216000000,1.4277],[1377302400000,1.43115],[1377388800000,1.43115],[1377475200000,1.43115],[1377561600000,1.43115],[1377648000000,1.42915],[1377734400000,1.43012],[1377820800000,1.4215],[1377907200000,1.41817],[1377993600000,1.41817],[1378080000000,1.41817],[1378166400000,1.41519],[1378252800000,1.41148],[1378339200000,1.41154],[1378425600000,1.41483],[1378512000000,1.40564],[1378598400000,1.40564],[1378684800000,1.40564],[1378771200000,1.41388],[1378857600000,1.41888],[1378944000000,1.42185],[1379030400000,1.42436],[1379116800000,1.42501],[1379203200000,1.42501],[1379289600000,1.42501],[1379376000000,1.43179],[1379462400000,1.43156],[1379548800000,1.431],[1379635200000,1.45172],[1379721600000,1.44858],[1379808000000,1.44858],[1379894400000,1.44858],[1379980800000,1.44778],[1380067200000,1.44412],[1380153600000,1.44733],[1380240000000,1.44679],[1380326400000,1.45094],[1380412800000,1.45094],[1380499200000,1.45094],[1380585600000,1.44738],[1380672000000,1.45259],[1380758400000,1.44833],[1380844800000,1.45659],[1380931200000,1.45646],[1381017600000,1.45646],[1381104000000,1.45646],[1381190400000,1.45423],[1381276800000,1.45462],[1381363200000,1.44816],[1381449600000,1.44816],[1381536000000,1.45366],[1381622400000,1.45366],[1381708800000,1.45366],[1381795200000,1.45353],[1381881600000,1.44594],[1381968000000,1.45321],[1382054400000,1.46403],[1382140800000,1.46644],[1382227200000,1.46644],[1382313600000,1.46644],[1382400000000,1.46449],[1382486400000,1.46518],[1382572800000,1.47353],[1382659200000,1.47921],[1382745600000,1.47633],[1382832000000,1.47633],[1382918400000,1.47633],[1383004800000,1.47696],[1383091200000,1.47539],[1383177600000,1.47405],[1383264000000,1.46182],[1383350400000,null],[1383436800000,1.4473],[1383523200000,1.4473],[1383609600000,1.44741],[1383696000000,1.44614],[1383782400000,1.44841],[1383868800000,1.43224],[1383955200000,1.43933],[1384041600000,1.43933],[1384128000000,1.43933],[1384214400000,1.43537],[1384300800000,1.43955],[1384387200000,1.43756],[1384473600000,1.43981],[1384560000000,1.4424],[1384646400000,1.4424],[1384732800000,1.4424],[1384819200000,1.44851],[1384905600000,1.44696],[1384992000000,1.44954],[1385078400000,1.44367],[1385164800000,1.44866],[1385251200000,1.44866],[1385337600000,1.44866],[1385424000000,1.44825],[1385510400000,1.45178],[1385596800000,1.45701],[1385683200000,1.45659],[1385769600000,1.45856],[1385856000000,1.45856],[1385942400000,1.45856],[1386028800000,1.45035],[1386115200000,1.45493],[1386201600000,1.45643],[1386288000000,1.4566],[1386374400000,1.46371],[1386460800000,1.46371],[1386547200000,1.46371],[1386633600000,1.4702],[1386720000000,1.47316],[1386806400000,1.47494],[1386892800000,1.47578],[1386979200000,1.47056],[1387065600000,1.47056],[1387152000000,1.47056],[1387238400000,1.47593],[1387324800000,1.473],[1387411200000,1.47301],[1387497600000,1.46435],[1387584000000,1.46293],[1387670400000,1.46293],[1387756800000,1.46293],[1387843200000,1.46786],[1387929600000,1.46607],[1388016000000,1.46607],[1388102400000,1.46607],[1388188800000,1.48012],[1388275200000,1.48012],[1388361600000,1.48012]], 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, 1.420979],[1358208000000, 1.420979],[1360886400000, 1.433676],[1363305600000, 1.390372],[1365984000000, 1.394840],[1368576000000, 1.393037],[1371254400000, 1.412498],[1373846400000, 1.400666],[1376524800000, 1.426928],[1379203200000, 1.429699],[1381795200000, 1.461105],[1384473600000, 1.446032],[1387065600000, 1.467546]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });